Minimize to tray only if the relevant option is enabled.

This commit is contained in:
sledgehammer999 2015-06-20 23:28:40 +03:00
parent 9032808112
commit f94d733c62

View File

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