mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Returned lost method that checks tray existence.
This commit is contained in:
@@ -903,7 +903,7 @@ Core::WindowPosition MainWindow::SecondaryInitPosition() {
|
||||
}
|
||||
|
||||
bool MainWindow::minimizeToTray() {
|
||||
if (Core::Quitting()/* || !hasTrayIcon()*/) {
|
||||
if (Core::Quitting() || !Core::App().tray().has()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user