summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2011-02-22 23:43:53 (GMT)
committerLorn Potter <lorn.potter@nokia.com>2011-02-22 23:43:53 (GMT)
commit49f019e2aef788ba5399de062254530bc429eee7 (patch)
tree744e1634eb8850a5177d09cd44a15ae24f53713f
parentdf639df2d80a9a0b6ddeab6d8ec96da406728e1f (diff)
downloadQt-49f019e2aef788ba5399de062254530bc429eee7.zip
Qt-49f019e2aef788ba5399de062254530bc429eee7.tar.gz
Qt-49f019e2aef788ba5399de062254530bc429eee7.tar.bz2
add gsm to connectable bearer for networkmanager.
Reviewed-by: trustme
-rw-r--r--src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp b/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp
index 30d6b50..6b37b38 100644
--- a/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp
+++ b/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp
@@ -213,6 +213,11 @@ void QNetworkManagerEngine::connectToId(const QString &id)
dbusDevicePath = devicePath.path();
break;
}
+ else if (device.deviceType() == DEVICE_TYPE_GSM &&
+ connectionType == QLatin1String("gsm")) {
+ dbusDevicePath = devicePath.path();
+ break;
+ }
}
const QString service = connection->connectionInterface()->service();