Commit 739cffe7 authored by Andreas Traczyk's avatar Andreas Traczyk

mainwindow: only minimize on close if not onboarding

Change-Id: Id807371f3687bb4ae028c5cc1931f11d13d0ac6b
parent f705379d
......@@ -290,7 +290,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
QSettings settings("", "Jami");
if (settings.value(SettingsKey::closeOrMinimized).toBool()) {
if (LRCInstance::accountModel().getAccountList().size() &&
settings.value(SettingsKey::closeOrMinimized).toBool()) {
} else {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment