Commit 61967734 authored by Pino Toscano's avatar Pino Toscano

remove one more KGlobal usage

parent 6ed2d61a
......@@ -1024,7 +1024,7 @@ void KGrGame::endLevel (const int result)
saveRecording (QString ("rec_"));
// Save the game and level, for use in the REPLAY_LAST action.
KConfigGroup gameGroup (KGlobal::config(), "KDEGame");
KConfigGroup gameGroup (KSharedConfig::openConfig (), "KDEGame");
gameGroup.writeEntry ("LastGamePrefix", prefix);
gameGroup.writeEntry ("LastLevel", level);
gameGroup.sync(); // Ensure that the entry goes to disk.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment