[telepathy-qt4/master] PendingChannelRequest: Fixed assert condition.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Thu Jun 11 10:12:13 PDT 2009


---
 TelepathyQt4/pending-channel-request-internal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/pending-channel-request-internal.h b/TelepathyQt4/pending-channel-request-internal.h
index 6bd9e3c..3228662 100644
--- a/TelepathyQt4/pending-channel-request-internal.h
+++ b/TelepathyQt4/pending-channel-request-internal.h
@@ -46,7 +46,7 @@ public:
 
     void proceed(const ChannelRequestPtr &channelRequest)
     {
-        Q_ASSERT(mChannelRequest);
+        Q_ASSERT(mChannelRequest.isNull());
         mChannelRequest = channelRequest;
         connect(mChannelRequest->cancel(),
                 SIGNAL(finished(Tp::PendingOperation*)),
-- 
1.5.6.5




More information about the telepathy-commits mailing list