mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 08:33:45 +08: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