From be0d390b0205acb6a2485fa98f6d54172d2e75e3 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 4 Oct 2020 22:09:07 +0200 Subject: src/main.cpp: Adapt lock file path to namespace change. --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 8770dfe..411295b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -80,8 +80,8 @@ int main(int argc, char *argv[]) { SLOT(showWindow())); // We don't want users to have multiple instances of this app running - QString tmpDirPath = QDir::tempPath() + "/rwa"; - QString tmpFilePath = tmpDirPath + "/remote-support-desktop-application-prevent-multiple-instances.lock"; + QString tmpDirPath = QDir::tempPath() + "/rwa.support.desktopapp"; + QString tmpFilePath = tmpDirPath + "/prevent-multiple-instances.lock"; QDir tmpDir(tmpDirPath); if (!tmpDir.exists()) { // Ensure that the path exists -- cgit v1.2.3