mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Alpha 0.10.23: small tiled background performance improved.
Also some error texts improved. Also Ctrl+W closes MediaView now.
This commit is contained in:
@@ -195,7 +195,7 @@ void MainWindow::initHook() {
|
||||
setWindowIcon(wndIcon);
|
||||
}
|
||||
|
||||
bool MainWindow::psHasTrayIcon() const {
|
||||
bool MainWindow::hasTrayIcon() const {
|
||||
return trayIcon || ((useAppIndicator || (useStatusIcon && trayIconChecked)) && (cWorkMode() != dbiwmWindowOnly));
|
||||
}
|
||||
|
||||
|
@@ -61,7 +61,7 @@ protected:
|
||||
void initHook() override;
|
||||
void unreadCounterChangedHook() override;
|
||||
|
||||
bool psHasTrayIcon() const;
|
||||
bool hasTrayIcon() const override;
|
||||
|
||||
QSystemTrayIcon *trayIcon = nullptr;
|
||||
QMenu *trayIconMenu = nullptr;
|
||||
|
Reference in New Issue
Block a user