Commit graph

8 commits

Author SHA1 Message Date
Ivailo Monev
5cd80dddb1 ark: prepare for KCmdLineArgs changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-16 01:38:03 +03:00
Ivailo Monev
c3f3bff65e generic: enable session management for most applications
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-09 09:34:22 +03:00
Ivailo Monev
7af8047900 generic: remove dead and irrelevant links references
svn repository reference? good luck getting source code from there..

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-10 16:01:25 +03:00
Ivailo Monev
200504c967 ark: implement session restoration
altough there are bits for that in main() the URL the part loaded was not
saved and restored when that had to happen, now it is

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-20 09:53:24 +03:00
Ivailo Monev
47ec323674 ark: hack for KMediaPlayer part
note that it is MPV itself that requires it thus the media classes (such as
KMediaPlayer, KMediaWidget, etc.) require it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-27 02:10:04 +02: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
07d10d4d4e initial import of ark 2014-11-18 17:46:34 +00:00