Review Request 123706: Forward QSessionManager to KConfigGui
Stefan Becker
chemobejk at gmail.com
Sat May 9 15:27:35 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123706/
-----------------------------------------------------------
(Updated May 9, 2015, 3:27 p.m.)
Review request for KDE Frameworks and Rex Dieter.
Bugs: 346768
https://bugs.kde.org/show_bug.cgi?id=346768
Repository: kxmlgui
Description
-------
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.
Diffs
-----
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/20150509/0a1438cb/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list