From a6e5e7ab84a4c89fda3e571f5d3322cf0aeac306 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Fri, 7 Apr 2023 11:23:10 +0400 Subject: [PATCH] Tell QLocalSocket the socket is abstract --- Telegram/SourceFiles/core/sandbox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/core/sandbox.cpp b/Telegram/SourceFiles/core/sandbox.cpp index c9034e246..741f7d072 100644 --- a/Telegram/SourceFiles/core/sandbox.cpp +++ b/Telegram/SourceFiles/core/sandbox.cpp @@ -124,6 +124,7 @@ int Sandbox::start() { #if defined Q_OS_LINUX && QT_VERSION >= QT_VERSION_CHECK(6, 2, 0) _localServer.setSocketOptions(QLocalServer::AbstractNamespaceOption); + _localSocket.setSocketOptions(QLocalSocket::AbstractNamespaceOption); #endif // Q_OS_LINUX && Qt >= 6.2.0 connect(