Add username to browser named pipe on Windows

* Fixes #5393
This commit is contained in:
Jonathan White 2020-09-27 23:04:19 -04:00
parent bb7a74b632
commit 8424acda4d

View File

@ -37,7 +37,7 @@ namespace BrowserShared
: path + serverName; : path + serverName;
#elif defined(Q_OS_WIN) #elif defined(Q_OS_WIN)
// Windows uses named pipes // Windows uses named pipes
return serverName; return serverName + "_" + qgetenv("USERNAME");
#else // Q_OS_MACOS and others #else // Q_OS_MACOS and others
return QStandardPaths::writableLocation(QStandardPaths::TempLocation) + serverName; return QStandardPaths::writableLocation(QStandardPaths::TempLocation) + serverName;
#endif #endif