Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #83 from tigeli/donotpop
[connectionagent] do not continue connectToType("cellular") if autoconnect is not enabled
  • Loading branch information
lpotter committed Oct 1, 2014
2 parents 576ad3a + 560c93d commit ac67b17
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 ac67b17

Please sign in to comment.