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:
parent
dfe75fb101
commit
1c94f090c8
|
@ -2271,7 +2271,7 @@ void Widget::onTryCreateTrayIcon()
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
qt_mac_set_dock_menu(Nexus::getInstance().dockMenu);
|
Nexus::getInstance().dockMenu->setAsDockMenu();
|
||||||
#endif
|
#endif
|
||||||
} else if (!isVisible()) {
|
} else if (!isVisible()) {
|
||||||
show();
|
show();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user