aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-04 22:09:07 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-04 22:09:07 +0200
commitbe0d390b0205acb6a2485fa98f6d54172d2e75e3 (patch)
tree9fdf1fdc9dbef96d514a7d4b306643391ef8c785
parent57e7fa96b74f93f9734b845009ad76917eb6ce37 (diff)
downloadRWA.Support.DesktopApp-be0d390b0205acb6a2485fa98f6d54172d2e75e3.tar.gz
RWA.Support.DesktopApp-be0d390b0205acb6a2485fa98f6d54172d2e75e3.tar.bz2
RWA.Support.DesktopApp-be0d390b0205acb6a2485fa98f6d54172d2e75e3.zip
src/main.cpp: Adapt lock file path to namespace change.
-rw-r--r--src/main.cpp4
1 files 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