Commit graph

10 commits

Author SHA1 Message Date
Ivailo Monev
27d88e1b12 ark: fix some compiler warnings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-19 13:14:02 +00:00
Ivailo Monev
789d540274 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-18 15:29:33 +00: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
f58a4c5452 generic: major build system cleanup 2015-09-02 02:13:50 +03:00
Ivailo Monev
d8a22fda42 generic: optimize png images with optipng 2015-07-26 23:49:06 +03:00
Ivailo Monev
c135cfa6bf generic: adjust for CMake moc 2015-02-27 11:02:43 +00:00
Ivailo Monev
e0cee79203 ark: simplify the session restoration logic
Bail out earlier instead of nesting if checks and testing |window|'s
value in different places.
2015-01-04 02:47:25 +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
5c246a73ae Stop crashing on exit when being used solely as a KPart (upstream cd8ad276) 2014-11-26 00:31:55 +00:00
Ivailo Monev
07d10d4d4e initial import of ark 2014-11-18 17:46:34 +00:00