1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor(widget): replace qt_mac_set_dock_menu() in widget

This commit is contained in:
jenli669 2019-07-14 21:27:02 +02:00
parent dfe75fb101
commit 1c94f090c8
No known key found for this signature in database
GPG Key ID: 8267F9F7C2BF7E5E

View File

@ -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();