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

List:       kde-commits
Subject:    kdesupport/akonadi/server/akonadictl
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2009-11-20 16:51:37
Message-ID: 1258735897.790312.10086.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1052062 by tokoe:

Be more verbose on errors


 M  +5 -0      main.cpp  


--- trunk/kdesupport/akonadi/server/akonadictl/main.cpp #1052061:1052062
@@ -56,6 +56,11 @@
 static bool stopServer()
 {
   org::freedesktop::Akonadi::ControlManager iface( AKONADI_DBUS_CONTROL_SERVICE, \
"/ControlManager", QDBusConnection::sessionBus(), 0 ); +  if ( !iface.isValid() ) {
+    qDebug( "Unable to connect to dbus interface of control service" );
+    return false;
+  }
+
   iface.shutdown();
 
   return true;


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

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