mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 06:45:49 +03:00
parent
c4dfa82661
commit
0e56dfe3a4
1 changed files with 1 additions and 2 deletions
|
@ -149,8 +149,7 @@ int main(int argc, char **argv)
|
|||
QString msg = args.join(QLatin1String("|"));
|
||||
if (!app.sendMessage(QLatin1String("MSG_PARSEOPTIONS:") + msg))
|
||||
return -1;
|
||||
}
|
||||
if (!app.backgroundMode() && !app.sendMessage(QLatin1String("MSG_SHOWMAINDIALOG"))) {
|
||||
} else if (!app.backgroundMode() && !app.sendMessage(QLatin1String("MSG_SHOWMAINDIALOG"))) {
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue