mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
* Removed obsolete m_isPlayingHttp boolean.
This commit is contained in:
@@ -51,7 +51,6 @@ AudioEngine::instance()
|
|||||||
|
|
||||||
AudioEngine::AudioEngine()
|
AudioEngine::AudioEngine()
|
||||||
: QObject()
|
: QObject()
|
||||||
, m_isPlayingHttp( false )
|
|
||||||
, m_queue( 0 )
|
, m_queue( 0 )
|
||||||
, m_timeElapsed( 0 )
|
, m_timeElapsed( 0 )
|
||||||
, m_expectStop( false )
|
, m_expectStop( false )
|
||||||
@@ -432,7 +431,6 @@ AudioEngine::loadTrack( const Tomahawk::result_ptr& result )
|
|||||||
else
|
else
|
||||||
m_mediaObject->setCurrentSource( io.data() );
|
m_mediaObject->setCurrentSource( io.data() );
|
||||||
m_mediaObject->currentSource().setAutoDelete( false );
|
m_mediaObject->currentSource().setAutoDelete( false );
|
||||||
m_isPlayingHttp = false;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -458,7 +456,6 @@ AudioEngine::loadTrack( const Tomahawk::result_ptr& result )
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_mediaObject->currentSource().setAutoDelete( true );
|
m_mediaObject->currentSource().setAutoDelete( true );
|
||||||
m_isPlayingHttp = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !m_input.isNull() )
|
if ( !m_input.isNull() )
|
||||||
|
@@ -143,7 +143,6 @@ private:
|
|||||||
void sendWaitingNotification() const;
|
void sendWaitingNotification() const;
|
||||||
void sendNowPlayingNotification();
|
void sendNowPlayingNotification();
|
||||||
|
|
||||||
bool m_isPlayingHttp;
|
|
||||||
QSharedPointer<QIODevice> m_input;
|
QSharedPointer<QIODevice> m_input;
|
||||||
|
|
||||||
Tomahawk::result_ptr m_currentTrack;
|
Tomahawk::result_ptr m_currentTrack;
|
||||||
|
Reference in New Issue
Block a user