From 65cccb7b55346cc2bbc0ed43efa5436dda9618ad Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 8 Apr 2015 02:57:12 +0200 Subject: [PATCH] Removed obviously dead code. --- src/libtomahawk/audio/Qnr_IoDeviceStream.cpp | 4 ---- src/libtomahawk/audio/Qnr_IoDeviceStream.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/libtomahawk/audio/Qnr_IoDeviceStream.cpp b/src/libtomahawk/audio/Qnr_IoDeviceStream.cpp index b78888eb0..8d8eea8bb 100644 --- a/src/libtomahawk/audio/Qnr_IoDeviceStream.cpp +++ b/src/libtomahawk/audio/Qnr_IoDeviceStream.cpp @@ -35,7 +35,6 @@ using namespace Tomahawk; QNR_IODeviceStream::QNR_IODeviceStream( const QSharedPointer& reply, QObject* parent ) : MediaStream( parent ) , m_networkReply( reply ) - , m_timer( new QTimer( this ) ) { m_type = MediaStream::Stream; @@ -66,9 +65,6 @@ QNR_IODeviceStream::QNR_IODeviceStream( const QSharedPointer& rep m_data = m_networkReply->readAll(); connect( m_networkReply.data(), SIGNAL( readyRead() ), SLOT( readyRead() ) ); } - - m_timer->setInterval( 0 ); - connect( m_timer, SIGNAL( timeout() ), SLOT( moreData() ) ); } diff --git a/src/libtomahawk/audio/Qnr_IoDeviceStream.h b/src/libtomahawk/audio/Qnr_IoDeviceStream.h index b295b8596..9181810ed 100644 --- a/src/libtomahawk/audio/Qnr_IoDeviceStream.h +++ b/src/libtomahawk/audio/Qnr_IoDeviceStream.h @@ -56,7 +56,6 @@ private: QMutex m_mutex; QByteArray m_data; QSharedPointer m_networkReply; - QTimer* m_timer; }; } // namespace Tomahawk