summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qmainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qmainwindow.h')
-rw-r--r--src/widgets/widgets/qmainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qmainwindow.h b/src/widgets/widgets/qmainwindow.h
index e0592d2c3f..ff489efa2d 100644
--- a/src/widgets/widgets/qmainwindow.h
+++ b/src/widgets/widgets/qmainwindow.h
@@ -123,7 +123,7 @@ public:
bool isSeparator(const QPoint &pos) const;
-#ifndef QT_NO_MENUBAR
+#if QT_CONFIG(menubar)
QMenuBar *menuBar() const;
void setMenuBar(QMenuBar *menubar);