summaryrefslogtreecommitdiffabout
path: root/kmicromail/main.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp
index 8947ff8..8341c5a 100644
--- a/kmicromail/main.cpp
+++ b/kmicromail/main.cpp
@@ -18,8 +18,9 @@
#include <kglobal.h>
#include <stdio.h>
#include "mainwindow.h"
#include "koprefs.h"
+#include <libkdepim/kpimglobalprefs.h>
void dumpMissing();
//using namespace Opie::Core;
int main( int argc, char **argv ) {
@@ -57,7 +58,9 @@ int main( int argc, char **argv ) {
QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
#endif
int rv = a.exec();
dumpMissing();
+
+ KPimGlobalPrefs::instance()->writeConfig();
return rv;
}