mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-27 12:39:58 +00:00
rewrite mainwindow to use helper
This commit is contained in:
@ -42,7 +42,7 @@ bool restoreExistSession()
|
||||
QString("Restore"));
|
||||
QDBusMessage response = bus.call(request);
|
||||
QList<QVariant> arguments = response.arguments();
|
||||
return ((arguments.size() == 1) && arguments[0].toBool());
|
||||
return !arguments.isEmpty();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user