diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2011-02-22 23:43:53 (GMT) |
---|---|---|
committer | Lorn Potter <lorn.potter@nokia.com> | 2011-02-22 23:43:53 (GMT) |
commit | 49f019e2aef788ba5399de062254530bc429eee7 (patch) | |
tree | 744e1634eb8850a5177d09cd44a15ae24f53713f | |
parent | df639df2d80a9a0b6ddeab6d8ec96da406728e1f (diff) | |
download | Qt-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.cpp | 5 |
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(); |