Browse Source

Fix helper respawning

Tobias Hieta 8 years ago
parent
commit
b4dcccbb78
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/utils/HelperLauncher.cpp

+ 1 - 2
src/utils/HelperLauncher.cpp

@@ -77,8 +77,7 @@ bool HelperLauncher::killHelper()
 /////////////////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////////////////
 void HelperLauncher::gotMessage(const QVariantMap& message)
 void HelperLauncher::gotMessage(const QVariantMap& message)
 {
 {
-  if (message.value("version").toString() != Version::GetVersionString() ||
-      message.value("path").toString() != HelperPath())
+  if (message.value("version").toString() != Version::GetVersionString())
   {
   {
     QLOG_WARN() << "Running helper does not match our current version. Killing it and starting a new one.";
     QLOG_WARN() << "Running helper does not match our current version. Killing it and starting a new one.";
     killHelper();
     killHelper();