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

Loading…
Cancel
Save