[Telepathy-commits] [telepathy-qt4/master] Fixed signalling issue: The removed account was deleted from local list before the signal was sent.

Stefan Eilers stefan.eilers at basyskom.de
Mon Jan 26 05:47:28 PST 2009


---
 TelepathyQt4/Prototype/AccountManager.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/Prototype/AccountManager.cpp b/TelepathyQt4/Prototype/AccountManager.cpp
index 265d0b8..6f036f1 100644
--- a/TelepathyQt4/Prototype/AccountManager.cpp
+++ b/TelepathyQt4/Prototype/AccountManager.cpp
@@ -334,8 +334,8 @@ void AccountManager::slotAccountRemoved()
     if ( account )
     {
         QString handle = account->handle();
-        d->removeAccount( handle );
         emit signalAccountRemoved( account );
+        d->removeAccount( handle );
         emit signalAccountsUpdated();
     }
 }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list