mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 21:40:00 -08:00
Isolate Continuumatrice single-instance socket from Cockatrice
This commit is contained in:
parent
2dab3d0f40
commit
f54dcc3e54
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ bool SingleInstanceManager::tryRun(const QStringList &filesToSend)
|
||||||
{
|
{
|
||||||
// Scope the socket name to the current user so one user's instance cannot
|
// Scope the socket name to the current user so one user's instance cannot
|
||||||
// hijack another user's session.
|
// hijack another user's session.
|
||||||
serverName = scopedLocalServerName(QStringLiteral("CockatriceSingleInstance"));
|
serverName = scopedLocalServerName(QStringLiteral("ContinuumatriceSingleInstance"));
|
||||||
|
|
||||||
// Hand off to an already-running primary instance if one exists. Never steal
|
// Hand off to an already-running primary instance if one exists. Never steal
|
||||||
// the socket of a busy primary: it is alive and will act on the payload.
|
// the socket of a busy primary: it is alive and will act on the payload.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue