1
0
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:
Uwe L. Korn
2014-10-17 23:36:30 +02:00
parent 4a0baabb1d
commit a7602504bb
3 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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" ) )

View File

@@ -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 );