Commit graph

5 commits

Author SHA1 Message Date
Ivailo Monev
44a349b97d generic: adjust to kfile changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 03:12:02 +03:00
Ivailo Monev
cbf29a08cf generic: make changes required for building against Katie
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-25 10:01:00 +00:00
Ivailo Monev
c135cfa6bf generic: adjust for CMake moc 2015-02-27 11:02:43 +00:00
Ivailo Monev
3eb01a3ecd main: Stop leaking pointers when we do not enter the main app loop.
In the cases where we returned before calling KApplication::exec(), we
would end up leaking pointers such as |batchJob|, |window| and
|addToArchiveJob|.

Fix it by explicitly deleting |window| (since we do not have another
QWidget to make it a child of) and making |batchJob| and
|addToArchiveJob| be children of our main KApplication so that we do not
need to explicitly delete them under any circumstances.
2015-01-04 02:46:48 +00:00
Ivailo Monev
07d10d4d4e initial import of ark 2014-11-18 17:46:34 +00:00