From 5161b56aa1d8541106145cf2ceefb3c80bcdfc8b Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 30 Jul 2018 11:00:54 +0200 Subject: Change 0 as init value for pointers to nullptr No functional changes, just because QtCreator says so :) --- beetplayer.h | 2 +- beetview.h | 2 +- configurationdialog.h | 2 +- indexerwidget.h | 2 +- webdownloader.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/beetplayer.h b/beetplayer.h index 3fd1cb5..b7bf240 100644 --- a/beetplayer.h +++ b/beetplayer.h @@ -11,7 +11,7 @@ class BeetPlayer : public QMainWindow { Q_OBJECT public: enum Tabs { Player = 0, Indexer = 1 }; - explicit BeetPlayer(QWidget *parent = 0, Qt::WindowFlags f = 0); + explicit BeetPlayer(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr); public slots: void configure(); diff --git a/beetview.h b/beetview.h index f4ae39f..6b33767 100644 --- a/beetview.h +++ b/beetview.h @@ -7,7 +7,7 @@ class BeetView : public QTreeView { Q_OBJECT public: enum ExpandOrCollapseMode { Expand, Collapse }; - explicit BeetView(QWidget *parent = 0); + explicit BeetView(QWidget *parent = nullptr); public slots: void expandOrCollapse(int mode); diff --git a/configurationdialog.h b/configurationdialog.h index 6a7d78b..816474e 100644 --- a/configurationdialog.h +++ b/configurationdialog.h @@ -11,7 +11,7 @@ class QRadioButton; class ConfigurationDialog : public QDialog { Q_OBJECT public: - explicit ConfigurationDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); + explicit ConfigurationDialog(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr); public slots: virtual void accept(); diff --git a/indexerwidget.h b/indexerwidget.h index c11eaf5..ce7763d 100644 --- a/indexerwidget.h +++ b/indexerwidget.h @@ -16,7 +16,7 @@ class BeetReader; class IndexerWidget : public QWidget { Q_OBJECT public: - explicit IndexerWidget(QWidget *parent = 0); + explicit IndexerWidget(QWidget *parent = nullptr); signals: void indexingDone(); diff --git a/webdownloader.h b/webdownloader.h index 9bbc1c9..9b2f6b1 100644 --- a/webdownloader.h +++ b/webdownloader.h @@ -9,7 +9,7 @@ class WebDownloader : public QObject { Q_OBJECT public: - WebDownloader(QObject *parent = 0); + WebDownloader(QObject *parent = nullptr); void fetchData(QString artist, QString album); const QString album() const { return mAlbum; } const QString artist() const { return mArtist; } -- cgit v1.2.3-70-g09d2