summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/process_detector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/facetracknoir/process_detector.cpp b/facetracknoir/process_detector.cpp
index 3ac6329b..c0b90bf6 100644
--- a/facetracknoir/process_detector.cpp
+++ b/facetracknoir/process_detector.cpp
@@ -186,7 +186,7 @@ bool process_detector_worker::should_stop()
return false;
}
}
-
+
last_exe_name = "";
CloseHandle(h);
@@ -216,7 +216,7 @@ bool process_detector_worker::config_to_start(QString& str)
if (filenames.contains(exe_name))
{
str = filenames[exe_name];
- last_exe_name = str;
+ last_exe_name = exe_name;
CloseHandle(h);
return true;
}
@@ -228,7 +228,7 @@ bool process_detector_worker::config_to_start(QString& str)
if (filenames.contains(exe_name))
{
str = filenames[exe_name];
- last_exe_name = str;
+ last_exe_name = exe_name;
CloseHandle(h);
return true;
}