aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/config-ui/mainwindow.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2017-11-18 19:07:25 +0300
committerJake Petroules <jake.petroules@qt.io>2017-11-20 21:03:07 +0000
commit7494bf59c28570dcc6ed6019f979e5625956c8af (patch)
tree3fb1e7fab1d064ebda1e78ffb21b06bd83e5107f /src/app/config-ui/mainwindow.h
parent95c1e81382246f5235322eeb6876f77f65b22c19 (diff)
Use nullptr to initialize the pointers
Change-Id: I59d743f585410cb5c00d36a7b6f9a3e9d696d19e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/app/config-ui/mainwindow.h')
-rw-r--r--src/app/config-ui/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/config-ui/mainwindow.h b/src/app/config-ui/mainwindow.h
index 73a01bc6a..908e447ea 100644
--- a/src/app/config-ui/mainwindow.h
+++ b/src/app/config-ui/mainwindow.h
@@ -53,7 +53,7 @@ class MainWindow : public QMainWindow
Q_OBJECT
public:
- explicit MainWindow(const QString &settingsDir, QWidget *parent = 0);
+ explicit MainWindow(const QString &settingsDir, QWidget *parent = nullptr);
~MainWindow();
bool eventFilter(QObject *watched, QEvent *event);