summaryrefslogtreecommitdiffstats
path: root/examples/widgets/mainwindows/mdi/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/mainwindows/mdi/mainwindow.h')
-rw-r--r--examples/widgets/mainwindows/mdi/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/mainwindows/mdi/mainwindow.h b/examples/widgets/mainwindows/mdi/mainwindow.h
index c2d50728b8..b24cdd4db1 100644
--- a/examples/widgets/mainwindows/mdi/mainwindow.h
+++ b/examples/widgets/mainwindows/mdi/mainwindow.h
@@ -60,7 +60,7 @@ public:
MainWindow();
protected:
- void closeEvent(QCloseEvent *event);
+ void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
private slots:
void newFile();