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 fc61ed66b6..0130007b65 100644
--- a/examples/widgets/mainwindows/menus/mainwindow.h
+++ b/examples/widgets/mainwindows/menus/mainwindow.h
@@ -59,7 +59,7 @@ public:
MainWindow();
protected:
- void contextMenuEvent(QContextMenuEvent *event);
+ void contextMenuEvent(QContextMenuEvent *event) Q_DECL_OVERRIDE;
//! [0]
//! [1]