diff options
-rw-r--r-- | src/gui/widgets/qmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qmainwindow.cpp b/src/gui/widgets/qmainwindow.cpp index ba6f783..a47ff8c 100644 --- a/src/gui/widgets/qmainwindow.cpp +++ b/src/gui/widgets/qmainwindow.cpp @@ -1443,9 +1443,9 @@ bool QMainWindow::event(QEvent *event) break; #ifdef Q_WS_MAC case QEvent::Show: + d->layout->blockVisiblityCheck = false; if (unifiedTitleAndToolBarOnMac()) d->layout->syncUnifiedToolbarVisibility(); - d->layout->blockVisiblityCheck = false; break; case QEvent::WindowStateChange: { |