Browse Source

Fix a bug where the helper respawned on updates.

Tobias Hieta 9 years ago
parent
commit
6d727323be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/HelperLauncher.cpp

+ 1 - 1
src/utils/HelperLauncher.cpp

@@ -177,6 +177,6 @@ QString HelperLauncher::HelperPath()
 void HelperLauncher::stop()
 void HelperLauncher::stop()
 {
 {
   // this method needs to disconnect all signals from the helper as well, so it doesn't start up again.
   // this method needs to disconnect all signals from the helper as well, so it doesn't start up again.
-  disconnect(m_jsonClient);
+  m_jsonClient->disconnect();
   killHelper();
   killHelper();
 }
 }