Custom title on macOS 10.10+ added.

This commit is contained in:
John Preston
2016-11-08 17:07:25 +03:00
parent 19f4e50e33
commit 475b35bf55
16 changed files with 336 additions and 170 deletions
@@ -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));
}