Review Request 123706: Forward QSessionManager to KConfigGui
Stefan Becker
chemobejk at gmail.com
Sun May 10 10:15:33 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123706/
-----------------------------------------------------------
(Updated May 10, 2015, 10:15 a.m.)
Review request for KDE Frameworks and Rex Dieter.
Changes
-------
updated after kconfig review comments
Bugs: 346768
https://bugs.kde.org/show_bug.cgi?id=346768
Repository: kxmlgui
Description (updated)
-------
Get a KConfig object that corresponds to the QSessionManager object that is passed in with the saveStateRequest signal.
To make sure that the data is stored to disk we have to call sync() on the object after the application has updated it. As the session manager always emits a saveStateRequest after starting the application we need to skip the sync() for the first request and instead mark it as clean.
Diffs (updated)
-----
src/kmainwindow.cpp 15eecb7
src/kmainwindow_p.h 8204ce1
Diff: https://git.reviewboard.kde.org/r/123706/diff/
Testing
-------
On F22 with kwrite & konsole
Thanks,
Stefan Becker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150510/57025f82/attachment.html>
More information about the Kde-frameworks-devel
mailing list