mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add version check for abstract sockets
This commit is contained in:
@@ -122,9 +122,9 @@ int Sandbox::start() {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#if defined Q_OS_LINUX && QT_VERSION >= QT_VERSION_CHECK(6, 2, 0)
|
||||
_localServer.setSocketOptions(QLocalServer::AbstractNamespaceOption);
|
||||
#endif
|
||||
#endif // Q_OS_LINUX && Qt >= 6.2.0
|
||||
|
||||
connect(
|
||||
&_localSocket,
|
||||
|
Reference in New Issue
Block a user