diff options
Diffstat (limited to 'examples/widgets/mainwindows/menus/mainwindow.h')
-rw-r--r-- | examples/widgets/mainwindows/menus/mainwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/mainwindows/menus/mainwindow.h b/examples/widgets/mainwindows/menus/mainwindow.h index 9710580819..57dd036767 100644 --- a/examples/widgets/mainwindows/menus/mainwindow.h +++ b/examples/widgets/mainwindows/menus/mainwindow.h @@ -59,7 +59,9 @@ public: MainWindow(); protected: +#ifndef QT_NO_CONTEXTMENU void contextMenuEvent(QContextMenuEvent *event) Q_DECL_OVERRIDE; +#endif // QT_NO_CONTEXTMENU //! [0] //! [1] |