Browse Source

Minimize to tray only if the relevant option is enabled.

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

7
src/gui/mainwindow.cpp

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

Loading…
Cancel
Save