Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #72 from monich/requestConnect
Trace every requestConnect call
  • Loading branch information
lpotter committed Jun 9, 2014
2 parents 1e22499 + ecefc72 commit f9bf5d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions connd/qconnectionagent.cpp
Expand Up @@ -290,6 +290,7 @@ void QConnectionAgent::connectToType(const QString &type)
if (path.contains(type)) {
if (!isStateOnline(servicesMap.value(path)->state())) {
if (servicesMap.value(path)->autoConnect()) {
qDebug() << "<<<<<<<<<<< requestConnect() >>>>>>>>>>>>";
servicesMap.value(path)->requestConnect();
return;
}
Expand Down Expand Up @@ -573,6 +574,7 @@ void QConnectionAgent::techTetheringChanged(bool on)
NetworkService* cellService = services.at(0);
if (cellService) {
if (cellService->state() == "idle"|| cellService->state() == "failure") {
qDebug() << "<<<<<<<<<<< requestConnect() >>>>>>>>>>>>";
cellService->requestConnect();
} else if (cellService->connected()) {
delayedTethering = false;
Expand Down

0 comments on commit f9bf5d9

Please sign in to comment.