Skip to content

Commit

Permalink
Merge pull request #87 from tigeli/donotpopv2
Browse files Browse the repository at this point in the history
[connectionagent] recommit do not continue connectToType("cellular") if autoconnect is not enabled
  • Loading branch information
lpotter committed Oct 1, 2014
2 parents 1d598f6 + e8355d0 commit 6400aa1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions connd/qconnectionagent.cpp
Expand Up @@ -324,6 +324,9 @@ void QConnectionAgent::connectToType(const QString &type)
qDebug() << "<<<<<<<<<<< requestConnect() >>>>>>>>>>>>";
elem.service->requestConnect();
return;
} else if (elem.path.contains("cellular")) {
// do not continue if cellular is not autoconnect
return;
}
} else {
return;
Expand Down

0 comments on commit 6400aa1

Please sign in to comment.