[telepathy-qt4/master] PendingAccount: Hold a weak ref to account manager.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Tue Mar 31 15:34:25 PDT 2009


---
 TelepathyQt4/Client/pending-account.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/Client/pending-account.cpp b/TelepathyQt4/Client/pending-account.cpp
index 52b192b..21ab6ff 100644
--- a/TelepathyQt4/Client/pending-account.cpp
+++ b/TelepathyQt4/Client/pending-account.cpp
@@ -54,7 +54,7 @@ struct PendingAccount::Private
     {
     }
 
-    AccountManagerPtr manager;
+    WeakPtr<AccountManager> manager;
     AccountPtr account;
     QDBusObjectPath objectPath;
 };
-- 
1.5.6.5




More information about the telepathy-commits mailing list