summaryrefslogtreecommitdiffabout
path: root/kaddressbook/mainembedded.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/mainembedded.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/mainembedded.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/kaddressbook/mainembedded.cpp b/kaddressbook/mainembedded.cpp
index a8816f9..547d208 100644
--- a/kaddressbook/mainembedded.cpp
+++ b/kaddressbook/mainembedded.cpp
@@ -80,5 +80,5 @@ int main( int argc, char **argv )
- {
- KPimGlobalPrefs::instance()->setGlobalConfig();
- }
+
+ KPimGlobalPrefs::instance()->setGlobalConfig();
+
#ifndef DESKTOP_VERSION
@@ -95,2 +95,3 @@ int main( int argc, char **argv )
+ KPimGlobalPrefs::instance()->writeConfig();
}