[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kmail
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2009-11-20 16:45:57
Message-ID: 1258735557.235480.9461.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1052060 by tokoe:

Start Akonadi by default now that KMail uses Akonadi for
address book related actions



 M  +6 -0      main.cpp  


--- trunk/KDE/kdepim/kmail/main.cpp #1052059:1052060
@@ -21,10 +21,13 @@
 #include <kontactinterface/pimuniqueapplication.h>
 #include <kglobal.h>
 #include "kmkernel.h" //control center
+#include "kmmainwidget.h"
 #include "kmail_options.h"
 
 #include <kdebug.h>
 
+#include <akonadi/control.h>
+
 #undef Status // stupid X headers
 
 #include "aboutdata.h"
@@ -142,6 +145,9 @@
   app.setEventLoopReached();
   app.delayedInstanceCreation();
 
+  // Start Akonadi
+  Akonadi::Control::start( kmkernel->getKMMainWidget() );
+
   // Go!
   int ret = qApp->exec();
   // clean up
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic