mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-03 10:39:30 +00:00
Custom title on macOS 10.10+ added.
This commit is contained in:
@@ -191,6 +191,10 @@ MainWindow::MainWindow()
|
||||
_psUpdateIndicatorTimer.setSingleShot(true);
|
||||
}
|
||||
|
||||
void MainWindow::initHook() {
|
||||
setWindowIcon(wndIcon);
|
||||
}
|
||||
|
||||
bool MainWindow::psHasTrayIcon() const {
|
||||
return trayIcon || ((useAppIndicator || (useStatusIcon && trayIconChecked)) && (cWorkMode() != dbiwmWindowOnly));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user