Browse Source

refactor(widget): replace qt_mac_set_dock_menu() in widget

reviewable/pr5745/r4
jenli669 6 years ago
parent
commit
1c94f090c8
No known key found for this signature in database
GPG Key ID: 8267F9F7C2BF7E5E
  1. 2
      src/widget/widget.cpp

2
src/widget/widget.cpp

@ -2271,7 +2271,7 @@ void Widget::onTryCreateTrayIcon() @@ -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();

Loading…
Cancel
Save