diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index 75d2fd142..1f055e720 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -2271,7 +2271,7 @@ void Widget::onTryCreateTrayIcon() } #ifdef Q_OS_MAC - qt_mac_set_dock_menu(Nexus::getInstance().dockMenu); + Nexus::getInstance().dockMenu->setAsDockMenu(); #endif } else if (!isVisible()) { show();