Review Request 122105: Fix KgDifficulty saving on app close

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

This is an automatically generated e-mail. To reply, visit:

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


This change has been marked as submitted.

Review request for KDE Frameworks and KDE Games.

Repository: libkdegames


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?


  kgdifficulty.cpp 94489c7 




Albert Astals Cid

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Kde-frameworks-devel mailing list