mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-05 11:24:21 +00:00
mac tray icon/menu support improved, custom context menu started
This commit is contained in:
@@ -219,7 +219,7 @@ void PsMainWindow::psStateChanged(Qt::WindowState state) {
|
||||
psUpdateSysMenu(state);
|
||||
psUpdateMargins();
|
||||
// if (state == Qt::WindowMinimized && GetWindowLong(ps_hWnd, GWL_HWNDPARENT)) {
|
||||
// minimizeToTray();
|
||||
// App::wnd()->minimizeToTray();
|
||||
// }
|
||||
psSavePosition(state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user