Review Request 122105: Fix KgDifficulty saving on app close

Albert Astals Cid aacid at kde.org
Sat Jan 17 21:48:29 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122105/
-----------------------------------------------------------

(Updated Jan. 17, 2015, 9:48 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and KDE Games.


Repository: libkdegames


Description
-------

Since you can't use KSharedConfig::openConfig from a static destructor anymore (the QCoreApplication is gone and thus can't find the name of the thing) use a post routine to save the level before the QCoreApplication is gone.

KF5 people: Is this something worth mentioning on the porting notes or using KSharedConfig::openConfig from a static destructor is a bit of a corner case anyway?


Diffs
-----

  kgdifficulty.cpp 94489c7 

Diff: https://git.reviewboard.kde.org/r/122105/diff/


Testing
-------


Thanks,

Albert Astals Cid

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150117/c7fe196c/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list