telepathy-qt: dbus-tubes: Remove ranom unused/wrong stuff

Dario Freddi drf at kemper.freedesktop.org
Tue Jul 3 15:09:00 PDT 2012


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

Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Mon Jul  2 18:40:29 2012 +0300

dbus-tubes: Remove ranom unused/wrong stuff

---

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

diff --git a/TelepathyQt/dbus-tube-channel.h b/TelepathyQt/dbus-tube-channel.h
index f96735a..0527c12 100644
--- a/TelepathyQt/dbus-tube-channel.h
+++ b/TelepathyQt/dbus-tube-channel.h
@@ -30,8 +30,6 @@
 namespace Tp
 {
 
-
-class DBusTubeChannelPrivate;
 class TP_QT_EXPORT DBusTubeChannel : public TubeChannel
 {
     Q_OBJECT
diff --git a/TelepathyQt/incoming-dbus-tube-channel.cpp b/TelepathyQt/incoming-dbus-tube-channel.cpp
index 956d781..2422964 100644
--- a/TelepathyQt/incoming-dbus-tube-channel.cpp
+++ b/TelepathyQt/incoming-dbus-tube-channel.cpp
@@ -41,11 +41,8 @@ public:
 
     // Public object
     IncomingDBusTubeChannel *parent;
-    static bool initRandom;
 };
 
-bool IncomingDBusTubeChannel::Private::initRandom = true;
-
 IncomingDBusTubeChannel::Private::Private(IncomingDBusTubeChannel *parent)
     : parent(parent)
 {
diff --git a/TelepathyQt/outgoing-dbus-tube-channel.h b/TelepathyQt/outgoing-dbus-tube-channel.h
index d61940e..390b109 100644
--- a/TelepathyQt/outgoing-dbus-tube-channel.h
+++ b/TelepathyQt/outgoing-dbus-tube-channel.h
@@ -56,4 +56,4 @@ private:
 
 }
 
-#endif // TP_OUTGOING_DBUS_TUBE_CHANNEL_H
+#endif



More information about the telepathy-commits mailing list