From 1c94f090c83aa7f0390ccd129699ddab56c95970 Mon Sep 17 00:00:00 2001 From: jenli669 Date: Sun, 14 Jul 2019 21:27:02 +0200 Subject: [PATCH] refactor(widget): replace qt_mac_set_dock_menu() in widget --- src/widget/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();