[telepathy-qt4/master] PendingChannel: Hold a weak ref to connection.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Tue Mar 31 15:34:40 PDT 2009
---
TelepathyQt4/Client/pending-channel.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/TelepathyQt4/Client/pending-channel.cpp b/TelepathyQt4/Client/pending-channel.cpp
index 1bc1a66..db7321f 100644
--- a/TelepathyQt4/Client/pending-channel.cpp
+++ b/TelepathyQt4/Client/pending-channel.cpp
@@ -56,7 +56,7 @@ struct PendingChannel::Private
{
}
- ConnectionPtr connection;
+ WeakPtr<Connection> connection;
bool yours;
QString channelType;
uint handleType;
--
1.5.6.5
More information about the telepathy-commits
mailing list