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