Commit 55c1b0a4 authored by Ming Rui Zhang's avatar Ming Rui Zhang

main: show maximized mainwindow only when accounts exist

Change-Id: Iefc512728721b6cc760273bbfedf0b37aed036ca
parent a801936c
......@@ -279,7 +279,8 @@ main(int argc, char* argv[])
QSettings settings("", "Jami");
if (not startMinimized) {
if (settings.value(SettingsKey::hasRun) == 0) {
if(LRCInstance::accountModel().getAccountList().size() != 0)
[] {
QSettings settings("", "Jami");
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