mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 13:17:34 +02:00
Use nullptr instead of 0
This commit is contained in:
@@ -46,7 +46,7 @@ Q_OBJECT
|
|||||||
public:
|
public:
|
||||||
static Pipeline* instance();
|
static Pipeline* instance();
|
||||||
|
|
||||||
explicit Pipeline( QObject* parent = 0 );
|
explicit Pipeline( QObject* parent = nullptr );
|
||||||
virtual ~Pipeline();
|
virtual ~Pipeline();
|
||||||
|
|
||||||
bool isRunning() const;
|
bool isRunning() const;
|
||||||
|
@@ -138,8 +138,8 @@ using namespace Tomahawk;
|
|||||||
|
|
||||||
TomahawkApp::TomahawkApp( int& argc, char *argv[] )
|
TomahawkApp::TomahawkApp( int& argc, char *argv[] )
|
||||||
: TOMAHAWK_APPLICATION( argc, argv )
|
: TOMAHAWK_APPLICATION( argc, argv )
|
||||||
, m_mainwindow( 0 )
|
, m_mainwindow( nullptr )
|
||||||
, m_splashWidget( 0 )
|
, m_splashWidget( nullptr )
|
||||||
, m_headless( false )
|
, m_headless( false )
|
||||||
{
|
{
|
||||||
if ( arguments().contains( "--help" ) || arguments().contains( "-h" ) )
|
if ( arguments().contains( "--help" ) || arguments().contains( "-h" ) )
|
||||||
|
@@ -86,7 +86,7 @@ public:
|
|||||||
CustomActionRole = Qt::UserRole + 16 // QList< QAction* >
|
CustomActionRole = Qt::UserRole + 16 // QList< QAction* >
|
||||||
};
|
};
|
||||||
|
|
||||||
SourcesModel( QObject* parent = 0 );
|
SourcesModel( QObject* parent = nullptr );
|
||||||
virtual ~SourcesModel();
|
virtual ~SourcesModel();
|
||||||
|
|
||||||
static QString rowTypeToString( RowType type );
|
static QString rowTypeToString( RowType type );
|
||||||
|
Reference in New Issue
Block a user