Commit ff2aa332 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove kdelibs4support

parent 2168e783
......@@ -135,7 +135,7 @@ void KSquaresWindow::gameNew()
Settings::setBoardHeight(dialog.spinHeight->value());
Settings::setBoardWidth(dialog.spinWidth->value());
Settings::setQuickStart(dialog.quickStartCheck->checkState());
Settings::self()->writeConfig();
Settings::self()->save();
gameReset();
}
......
......@@ -43,7 +43,7 @@ int main(int argc, char **argv)
KApplication app;
// default names for players
KConfigGroup cg(KGlobal::config(), "General");
KConfigGroup cg(KSharedConfig::openConfig(), "General");
if (cg.readEntry<bool>("initializeNames", true)) {
QStringList playerNames;
playerNames << KUser().property(KUser::FullName).toString();
......
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