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

List:       kde-commits
Subject:    playground/network/telepathy-accounts-kcm/src
From:       George Goldberg <grundleborg () googlemail ! com>
Date:       2009-08-10 19:29:45
Message-ID: 1249932585.378009.5769.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1009753 by gberg:

Don't forget to register the Telepathy DBus types before we use tpqt4.

BUG: 203354

 M  +4 -0      kcm-telepathy-accounts.cpp  


--- trunk/playground/network/telepathy-accounts-kcm/src/kcm-telepathy-accounts.cpp #1009752:1009753
@@ -31,6 +31,7 @@
 #include <TelepathyQt4/Account>
 #include <TelepathyQt4/PendingOperation>
 #include <TelepathyQt4/PendingReady>
+#include <TelepathyQt4/Types>
 
 
 K_PLUGIN_FACTORY(KCMTelepathyAccountsFactory, registerPlugin<KCMTelepathyAccounts>();)
@@ -44,6 +45,9 @@
 {
     kDebug();
 
+    // The first thing we must do is register Telepathy DBus Types.
+    Tp::registerTypes();
+
     // Start setting up the Telepathy AccountManager.
     m_accountManager = Tp::AccountManager::create();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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