mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-12-14 23:03:40 +00:00
more correct checking dbus response
This commit is contained in:
@ -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()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user