diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-18 04:06:18 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-03 11:39:01 -0500 |
| commit | 75cc2ffead148ab2409cd1ef469613d2e9b80e17 (patch) | |
| tree | bc72840b5fe4b6f8f38c04dfd00e8aebe468d26f /src/main.cpp | |
| parent | f121d92602772110b80ce8ee89fef82c475190d3 (diff) | |
removed unused `update` parameter
moved --multiple to CommandLine
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index 68dcfe11..a1a4be01 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -852,12 +852,7 @@ int main(int argc, char *argv[]) SingleInstance::Flags siFlags = SingleInstance::NoFlags; - if (arguments.contains("update")) { - arguments.removeAll("update"); - siFlags |= SingleInstance::ForcePrimary; - } - - if (arguments.contains("--multiple")) { + if (cl.multiple()) { arguments.removeAll("--multiple"); siFlags |= SingleInstance::AllowMultiple; } |
