projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4dfa82
)
Gui: do not show the settings when opening a virtual file
author
Olivier Goffart
<ogoffart@woboq.com>
Thu, 29 Nov 2018 12:55:27 +0000
(13:55 +0100)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:31 +0000
(10:58 +0100)
Issue #6764
src/gui/main.cpp
patch
|
blob
|
history
diff --git
a/src/gui/main.cpp
b/src/gui/main.cpp
index f35c4ef86734bffdc86ae1819daea2f388d531d7..dd030328a7a9cc5740d1e418fd41e775c2e73c90 100644
(file)
--- a/
src/gui/main.cpp
+++ b/
src/gui/main.cpp
@@
-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;