mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 18:14:50 +02:00
Use nullptr instead of 0
This commit is contained in:
@@ -52,6 +52,7 @@ AudioOutput::instance()
|
|||||||
AudioOutput::AudioOutput( QObject* parent )
|
AudioOutput::AudioOutput( QObject* parent )
|
||||||
: QObject( parent )
|
: QObject( parent )
|
||||||
, currentState( Stopped )
|
, currentState( Stopped )
|
||||||
|
, currentStream( nullptr )
|
||||||
, seekable( true )
|
, seekable( true )
|
||||||
, muted( false )
|
, muted( false )
|
||||||
, m_autoDelete ( true )
|
, m_autoDelete ( true )
|
||||||
@@ -60,15 +61,14 @@ AudioOutput::AudioOutput( QObject* parent )
|
|||||||
, m_totalTime( 0 )
|
, m_totalTime( 0 )
|
||||||
, m_aboutToFinish( false )
|
, m_aboutToFinish( false )
|
||||||
, m_justSeeked( false )
|
, m_justSeeked( false )
|
||||||
, dspPluginCallback( 0 )
|
, dspPluginCallback( nullptr )
|
||||||
, vlcInstance( 0 )
|
, vlcInstance( nullptr )
|
||||||
, vlcPlayer( 0 )
|
, vlcPlayer( nullptr )
|
||||||
, vlcMedia( 0 )
|
, vlcMedia( nullptr )
|
||||||
{
|
{
|
||||||
tDebug() << Q_FUNC_INFO;
|
tDebug() << Q_FUNC_INFO;
|
||||||
|
|
||||||
AudioOutput::s_instance = this;
|
AudioOutput::s_instance = this;
|
||||||
currentStream = 0;
|
|
||||||
|
|
||||||
qRegisterMetaType<AudioOutput::AudioState>("AudioOutput::AudioState");
|
qRegisterMetaType<AudioOutput::AudioState>("AudioOutput::AudioState");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user