-rw-r--r-- | kaddressbook/mainembedded.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kaddressbook/mainembedded.cpp b/kaddressbook/mainembedded.cpp index 40089a1..a8816f9 100644 --- a/kaddressbook/mainembedded.cpp +++ b/kaddressbook/mainembedded.cpp @@ -15,10 +15,11 @@ #include <kglobal.h> #include <stdio.h> #include <qdir.h> +#include "kabprefs.h" #include "kaddressbookmain.h" #include "externalapphandler.h" #include <libkdepim/kpimglobalprefs.h> - +void dumpMissing(); int main( int argc, char **argv ) { #ifndef DESKTOP_VERSION @@ -71,6 +72,8 @@ int main( int argc, char **argv ) #endif KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kaddressbook"))); + // init language + KABPrefs::instance(); KAddressBookMain m ; //US MainWindow m; QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); @@ -88,6 +91,7 @@ int main( int argc, char **argv ) #endif a.exec(); + dumpMissing(); } qDebug("KA: Bye! "); |