mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use abstract socket for single instance on Linux
This commit is contained in:
@@ -122,6 +122,10 @@ int Sandbox::start() {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
_localServer.setSocketOptions(QLocalServer::AbstractNamespaceOption);
|
||||
#endif
|
||||
|
||||
connect(
|
||||
&_localSocket,
|
||||
&QLocalSocket::connected,
|
||||
|
Reference in New Issue
Block a user