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