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