diff --git a/src/lib/app/qupzilla.cpp b/src/lib/app/qupzilla.cpp index 0e46f7896..8d0b4e7d8 100644 --- a/src/lib/app/qupzilla.cpp +++ b/src/lib/app/qupzilla.cpp @@ -231,7 +231,7 @@ void QupZilla::postLaunch() #ifdef Q_OS_MAC // fill menus even if user don't call them - if (m_startBehaviour == Qz::BW_FirstAppWindow) { + if (m_windowType == Qz::BW_FirstAppWindow) { aboutToShowBookmarksMenu(); aboutToShowHistoryMostMenu(); aboutToShowHistoryRecentMenu(); @@ -1581,12 +1581,6 @@ void QupZilla::triggerTabsOnTop(bool enable) } qzSettings->tabsOnTop = enable; - -#ifdef Q_OS_WIN - if (QtWin::isCompositionEnabled()) { - applyBlurToMainWindow(); - } -#endif } void QupZilla::refreshHistory() diff --git a/src/lib/other/macmenureceiver.cpp b/src/lib/other/macmenureceiver.cpp index f2abf26b4..e9272c518 100644 --- a/src/lib/other/macmenureceiver.cpp +++ b/src/lib/other/macmenureceiver.cpp @@ -299,9 +299,9 @@ void MacMenuReceiver::zoomReset() callSlot("zoomReset"); } -void MacMenuReceiver::fullScreen(bool make) +void MacMenuReceiver::toggleFullScreen(bool make) { - callSlot("fullScreen", false, Q_ARG(bool, make)); + callSlot("toggleFullScreen", false, Q_ARG(bool, make)); } void MacMenuReceiver::changeEncoding(QObject* obj) diff --git a/src/lib/other/macmenureceiver.h b/src/lib/other/macmenureceiver.h index 8f7e02dea..bf90417a5 100644 --- a/src/lib/other/macmenureceiver.h +++ b/src/lib/other/macmenureceiver.h @@ -116,7 +116,7 @@ private slots: void zoomIn(); void zoomOut(); void zoomReset(); - void fullScreen(bool make); + void toggleFullScreen(bool make); void changeEncoding(QObject* obj = 0); void triggerCaretBrowsing();