Commit 560c93d1 authored by Pasi Sjöholm's avatar Pasi Sjöholm

[connectionagent] do not continue connectToType("cellular") if autoconnect is not enabled

parent b5766ab0
......@@ -311,6 +311,9 @@ void QConnectionAgent::connectToType(const QString &type)
qDebug() << "<<<<<<<<<<< requestConnect() >>>>>>>>>>>>";
servicesMap.value(path)->requestConnect();
return;
} else if (path.contains("cellular")) {
// do not continue if cellular is not autoconnect
return;
}
} else {
return;
......
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