Fix helper respawning

This commit is contained in:
Tobias Hieta 2016-10-04 09:29:25 +02:00
parent 3fe2bb30d5
commit b4dcccbb78

View File

@ -77,8 +77,7 @@ bool HelperLauncher::killHelper()
/////////////////////////////////////////////////////////////////////////////////////////
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.";
killHelper();