Commit ef98fc52 authored by Martin Kacej's avatar Martin Kacej

small refactor

parent c701d371
......@@ -512,7 +512,7 @@ void Handler::replyFinished(QDBusPendingCallWatcher * watcher)
QVariantMap Handler::getConnectionSettings(const QString &connection, const QString &type)
if (type.length() == 0)
if (type.isEmpty())
return QVariantMap();
NetworkManager::Connection::Ptr con = NetworkManager::findConnection(connection);
if (!con)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment