QGstTools: Fix warning about unused m_intervalTimer
authorTobias Hunger <tobias.hunger@digia.com>
Thu, 29 Aug 2013 11:58:08 +0000 (13:58 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 2 Sep 2013 13:05:48 +0000 (15:05 +0200)
Clang does complain about this member not being used.

Change-Id: I02919715be43486f4646ca75deea66fc8a6a2276
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
src/gsttools/qgstreamerbushelper.cpp

index 5ead108..da7506e 100644 (file)
@@ -118,7 +118,9 @@ private:
     guint m_tag;
     GstBus* m_bus;
     QGstreamerBusHelper*  m_helper;
+#ifdef QT_NO_GLIB
     QTimer*     m_intervalTimer;
+#endif
 
 private slots:
     void doProcessMessage(const QGstreamerMessage& msg)