summaryrefslogtreecommitdiffstats
path: root/examples/widgets/mainwindows/menus
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/mainwindows/menus')
-rw-r--r--examples/widgets/mainwindows/menus/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/mainwindows/menus/mainwindow.h b/examples/widgets/mainwindows/menus/mainwindow.h
index 590d7c7550..1f1a065aaf 100644
--- a/examples/widgets/mainwindows/menus/mainwindow.h
+++ b/examples/widgets/mainwindows/menus/mainwindow.h
@@ -70,7 +70,7 @@ public:
protected:
#ifndef QT_NO_CONTEXTMENU
- void contextMenuEvent(QContextMenuEvent *event) Q_DECL_OVERRIDE;
+ void contextMenuEvent(QContextMenuEvent *event) override;
#endif // QT_NO_CONTEXTMENU
//! [0]