diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-08-02 11:45:33 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-08-06 18:30:58 +0300 |
commit | 1ff5cfe75390fba2a3ae385df323483c922f859f (patch) | |
tree | ddd920de1a772c7c0ff345e9e38e717235a3d525 /src/gui/main.cpp | |
parent | 39b636011e51ce773d0def5d45a5d60e1efd11b4 (diff) |
Only show the settings if explicitly reuested
On Windows and Linux this is the case if a used started ownCloud using a shortcut/desktop entry (we pass --showsettings)
On mac re receive a special event when the client bundle is launched by a user
Diffstat (limited to 'src/gui/main.cpp')
-rw-r--r-- | src/gui/main.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 9f4f2bd67..6610828f5 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -107,8 +107,6 @@ int main(int argc, char **argv) QString msg = args.join(QLatin1String("|")); if (!app.sendMessage(QLatin1String("MSG_PARSEOPTIONS:") + msg)) return -1; - } else if (!app.sendMessage(QLatin1String("MSG_SHOWSETTINGS"))) { - return -1; } return 0; } |