Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[connectionagent] ask for connection when always ask is configured
and user changes autoconnect on.
  • Loading branch information
Lorn Potter committed Jul 2, 2014
1 parent 523539a commit d6d2c27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions connd/qconnectionagent.cpp
Expand Up @@ -652,6 +652,10 @@ void QConnectionAgent::serviceAutoconnectChanged(bool on)
mobileConnected = true;
}
}
if (!mobileConnected && askRoaming() && !flightModeSuppression) {
Q_EMIT connectionRequest();
return;
}
}

if ((service->type() == "wifi" && mobileConnected)
Expand Down

0 comments on commit d6d2c27

Please sign in to comment.