summaryrefslogtreecommitdiffabout
path: root/kaddressbook/mainembedded.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/mainembedded.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/mainembedded.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/kaddressbook/mainembedded.cpp b/kaddressbook/mainembedded.cpp
index a8816f9..547d208 100644
--- a/kaddressbook/mainembedded.cpp
+++ b/kaddressbook/mainembedded.cpp
@@ -79,7 +79,7 @@ int main( int argc, char **argv )
QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & )));
- {
+
KPimGlobalPrefs::instance()->setGlobalConfig();
- }
+
#ifndef DESKTOP_VERSION
a.showMainWidget( &m );
@@ -94,4 +94,5 @@ int main( int argc, char **argv )
dumpMissing();
+ KPimGlobalPrefs::instance()->writeConfig();
}
qDebug("KA: Bye! ");