diff options
Diffstat (limited to 'src/controls/qquickmenubar.cpp')
-rw-r--r-- | src/controls/qquickmenubar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controls/qquickmenubar.cpp b/src/controls/qquickmenubar.cpp index d1378773..60673366 100644 --- a/src/controls/qquickmenubar.cpp +++ b/src/controls/qquickmenubar.cpp @@ -99,6 +99,10 @@ void QQuickMenuBar1::setNative(bool native) void QQuickMenuBar1::setNativeNoNotify(bool native) { + // QTBUG-51372 + if (QGuiApplication::platformName() == QStringLiteral("xcb")) + return; + if (native) { if (!m_platformMenuBar) { m_platformMenuBar = QGuiApplicationPrivate::platformTheme()->createPlatformMenuBar(); |