diff options
author | Arno <arno@disconnect.de> | 2018-07-30 11:00:54 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-07-30 11:00:54 +0200 |
commit | 5161b56aa1d8541106145cf2ceefb3c80bcdfc8b (patch) | |
tree | 9ac8e7edbfe4d527ae08a9353ef7f4e6788a7112 | |
parent | af1dc65d43f524cce06f058eb6934dcc6b52ddc7 (diff) | |
download | BeetPlayer-5161b56aa1d8541106145cf2ceefb3c80bcdfc8b.tar.gz BeetPlayer-5161b56aa1d8541106145cf2ceefb3c80bcdfc8b.tar.bz2 BeetPlayer-5161b56aa1d8541106145cf2ceefb3c80bcdfc8b.zip |
Change 0 as init value for pointers to nullptr
No functional changes, just because QtCreator says so :)
-rw-r--r-- | beetplayer.h | 2 | ||||
-rw-r--r-- | beetview.h | 2 | ||||
-rw-r--r-- | configurationdialog.h | 2 | ||||
-rw-r--r-- | indexerwidget.h | 2 | ||||
-rw-r--r-- | 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(); @@ -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; } |