summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/undo/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tools/undo/mainwindow.h')
-rw-r--r--examples/widgets/tools/undo/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/tools/undo/mainwindow.h b/examples/widgets/tools/undo/mainwindow.h
index 57c1f87ab2..87ee3084fb 100644
--- a/examples/widgets/tools/undo/mainwindow.h
+++ b/examples/widgets/tools/undo/mainwindow.h
@@ -61,7 +61,7 @@ class MainWindow : public QMainWindow, public Ui::MainWindow
Q_OBJECT
public:
- MainWindow(QWidget *parent = 0);
+ MainWindow(QWidget *parent = nullptr);
void addDocument(Document *doc);
void removeDocument(Document *doc);