Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[connectionagent] do not continue connectToType("cellular") if autoco…
…nnect is not enabled
  • Loading branch information
Pasi Sjöholm committed Aug 28, 2014
1 parent b5766ab commit 560c93d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions connd/qconnectionagent.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 560c93d

Please sign in to comment.