more correct checking dbus response

This commit is contained in:
arcan1s
2014-08-27 18:14:22 +04:00
parent b909222db9
commit f18e74917b
3 changed files with 3 additions and 3 deletions

View File

@ -234,7 +234,7 @@ bool MainWindow::isHelperActive()
DBUS_HELPER_INTERFACE, QString("Active"),
QList<QVariant>(), true, debug);
return (!responce.isEmpty());
return (!responce.isEmpty() && bool(responce[0].toInt()));
}