edit dbus calls

TODO edit dbus call in netctlautowindow (create callbacks too)
This commit is contained in:
arcan1s
2015-03-03 16:11:38 +03:00
parent 25ca2ef1d9
commit de0c1f208d
8 changed files with 121 additions and 144 deletions

View File

@ -43,7 +43,7 @@ bool existingSessionOperation(const QString operation)
QDBusMessage response = bus.call(request);
QList<QVariant> arguments = response.arguments();
return (!arguments.isEmpty() && bool(arguments[0].toInt()));
return (!arguments.isEmpty() && arguments[0].toBool());
}