Browse Source

Minimize to tray only if the relevant option is enabled.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
f94d733c62
  1. 5
      src/gui/mainwindow.cpp

5
src/gui/mainwindow.cpp

@ -306,8 +306,11 @@ MainWindow::MainWindow(QWidget *parent)
activateWindow(); activateWindow();
raise(); raise();
} }
else { else if (pref->startMinimized()) {
if (pref->minimizeToTray())
create(); create();
else
showMinimized();
} }
} }
else { else {

Loading…
Cancel
Save