Commit 1e791009 authored by Marco Martin's avatar Marco Martin

ave manually the kconfigskeleton

call directly kcm->lookAndFeelSettings()->save(), as we are not in
an event loop, the write to disk won't happen automatically
parent 3b93044b
......@@ -91,6 +91,8 @@ int main(int argc, char **argv)
kcm->load();
kcm->setResetDefaultLayout(parser.isSet(_resetLayout));
kcm->lookAndFeelSettings()->setLookAndFeelPackage(parser.value(_apply));
// Save manually as we aren't in an event loop
kcm->lookAndFeelSettings()->save();
kcm->save();
delete kcm;
}
......
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