diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2018-11-29 15:55:27 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2018-12-11 22:48:29 +0300 |
commit | 5e61d004c9eb9f6365298393fa7fdbdb3b0a87dc (patch) | |
tree | c32275e5f2e6342d67fdf632c6727f5eedbec68c /src/gui/main.cpp | |
parent | 808b9beca258a429ca59ca461098718617c42974 (diff) |
Gui: do not show the settings when opening a virtual file
Issue #6764
Diffstat (limited to 'src/gui/main.cpp')
-rw-r--r-- | src/gui/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 8614bdcf4..efe87a9d6 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -122,8 +122,7 @@ int main(int argc, char **argv) QString msg = args.join(QLatin1String("|")); if (!app.sendMessage(QLatin1String("MSG_PARSEOPTIONS:") + msg)) return -1; - } - if (!app.sendMessage(QLatin1String("MSG_SHOWSETTINGS"))) { + } else if (!app.sendMessage(QLatin1String("MSG_SHOWSETTINGS"))) { return -1; } return 0; |