summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/networkmanager
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-23 00:17:15 (GMT)
commit660f752c4db544d6fc5f827589d2f2704684eb8c (patch)
tree06647ea325318e7cdc9926825a492717a2f96423 /src/plugins/bearer/networkmanager
parente02d7079ca2851831c8a08e7c4994fe4428363ed (diff)
downloadQt-660f752c4db544d6fc5f827589d2f2704684eb8c.zip
Qt-660f752c4db544d6fc5f827589d2f2704684eb8c.tar.gz
Qt-660f752c4db544d6fc5f827589d2f2704684eb8c.tar.bz2
add gsm to connectable bearer for networkmanager.
Reviewed-by: trustme
Diffstat (limited to 'src/plugins/bearer/networkmanager')
-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();