telepathy-qt: dbus-tubes: Promote use of qObjectCast

Dario Freddi drf at kemper.freedesktop.org
Tue Jul 3 15:08:40 PDT 2012


Module: telepathy-qt
Branch: master
Commit: 64ada2c89a61a03350a89f05cf99213f1c8d8d19
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=64ada2c89a61a03350a89f05cf99213f1c8d8d19

Author: Dario Freddi <dario.freddi at collabora.co.uk>
Date:   Thu Jun  9 16:28:48 2011 +0200

dbus-tubes: Promote use of qObjectCast

---

 TelepathyQt/incoming-dbus-tube-channel.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt/incoming-dbus-tube-channel.cpp b/TelepathyQt/incoming-dbus-tube-channel.cpp
index 9a016ec..c2ac22b 100644
--- a/TelepathyQt/incoming-dbus-tube-channel.cpp
+++ b/TelepathyQt/incoming-dbus-tube-channel.cpp
@@ -92,7 +92,7 @@ IncomingDBusTubeChannel::Private::~Private()
  *
  *             // Handle the channel
  *             Tp::IncomingDBusTubeChannelPtr myTube =
- *                      Tp::IncomingDBusTubeChannelPtr::dynamicCast(channel);
+ *                      Tp::IncomingDBusTubeChannelPtr::qObjectCast(channel);
  *
  *          }
  *     }



More information about the telepathy-commits mailing list