summaryrefslogtreecommitdiff
path: root/src/singleinstance.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-07-18 04:06:18 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-03 11:39:01 -0500
commit75cc2ffead148ab2409cd1ef469613d2e9b80e17 (patch)
treebc72840b5fe4b6f8f38c04dfd00e8aebe468d26f /src/singleinstance.h
parentf121d92602772110b80ce8ee89fef82c475190d3 (diff)
removed unused `update` parameter
moved --multiple to CommandLine
Diffstat (limited to 'src/singleinstance.h')
-rw-r--r--src/singleinstance.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/singleinstance.h b/src/singleinstance.h
index 5c7cdf85..d500a056 100644
--- a/src/singleinstance.h
+++ b/src/singleinstance.h
@@ -40,19 +40,9 @@ public:
{
NoFlags = 0x00,
-
- // when set, this will be treated as the primary instance even if
- // another instance is running. This is used after an update since the
- // other instance is assumed to be in the process of quitting
- //
- // todo: this makes no sense. The second instance after an update needs
- // to delete the files from before the update so the first instance
- // needs to quit first anyway
- ForcePrimary = 0x01,
-
// if another instance is running, run this one disconnected from the
// shared memory
- AllowMultiple = 0x02
+ AllowMultiple = 0x01
};
using Flags = QFlags<Flag>;