Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[connectionagent] Don't automatically turn on tech power.
If the user has explicitly turned the power off for a particular
technology don't turn it back on. Instead fail and and emit
configurationNeeded() which will trigger the system connection
selector dialog.
  • Loading branch information
Aaron McCarthy committed Apr 15, 2014
1 parent f42a928 commit 7f737bd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions connd/qconnectionagent.cpp
Expand Up @@ -259,9 +259,6 @@ void QConnectionAgent::connectToType(const QString &type)
NetworkTechnology netTech;
netTech.setPath(techPath);

if (!netTech.powered()) { // user has indicated they want a connection
netTech.setPowered(true);
}
QStringList servicesList = netman->servicesList(type);
bool needConfig = true;

Expand Down

0 comments on commit 7f737bd

Please sign in to comment.