summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-10-07 23:29:45 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-08 05:14:52 +0200
commit0c25a9d43d0648047d173ab965cd3d4055809e0f (patch)
tree621c8bfe76a93193d286a347e9f56f4188f9fd04 /src
parent3af5832abe7c802a384cd58d34f7cc4433595ced (diff)
downloadkscope-0c25a9d43d0648047d173ab965cd3d4055809e0f.tar.gz
kscope-0c25a9d43d0648047d173ab965cd3d4055809e0f.zip
Fix load default config
Diffstat (limited to 'src')
-rw-r--r--src/kscope.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kscope.cpp b/src/kscope.cpp
index 4a4ab60..3e4c134 100644
--- a/src/kscope.cpp
+++ b/src/kscope.cpp
@@ -159,7 +159,11 @@ KScope::KScope(QWidget* pParent, const char* szName) :
// Use a maximised window the first time
if (Config().isFirstTime())
+ {
+ Config().loadDefault();
+ Config().store();
showMaximized();
+ }
// Show the Welcome message
if (Config().showWelcomeDlg()) {