diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2019-10-23 12:25:40 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2019-10-24 15:12:45 +0200 |
commit | e7d71199ff5997d45735c5ebe1a5f05ca6aa7b51 (patch) | |
tree | 0ea1bfb5858b31e6c86552aee11594ff74efc7a6 | |
parent | 4e4050fdbdeab6e63c0b55947512a92845872930 (diff) |
Use nullptr instead of 0
Change-Id: Id4c8b194ce8ff8ec94fafcf1169a0cc9717684ed
Reviewed-by: hjk <hjk@qt.io>
-rw-r--r-- | examples/mqtt/simpleclient/mainwindow.h | 2 | ||||
-rw-r--r-- | examples/mqtt/subscriptions/mainwindow.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/mqtt/simpleclient/mainwindow.h b/examples/mqtt/simpleclient/mainwindow.h index 05e048f..039f64a 100644 --- a/examples/mqtt/simpleclient/mainwindow.h +++ b/examples/mqtt/simpleclient/mainwindow.h @@ -65,7 +65,7 @@ class MainWindow : public QMainWindow Q_OBJECT public: - explicit MainWindow(QWidget *parent = 0); + explicit MainWindow(QWidget *parent = nullptr); ~MainWindow(); public slots: diff --git a/examples/mqtt/subscriptions/mainwindow.h b/examples/mqtt/subscriptions/mainwindow.h index de10ee3..9309e67 100644 --- a/examples/mqtt/subscriptions/mainwindow.h +++ b/examples/mqtt/subscriptions/mainwindow.h @@ -66,7 +66,7 @@ class MainWindow : public QMainWindow Q_OBJECT public: - explicit MainWindow(QWidget *parent = 0); + explicit MainWindow(QWidget *parent = nullptr); ~MainWindow(); public slots: |