From 660f752c4db544d6fc5f827589d2f2704684eb8c Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Wed, 23 Feb 2011 09:43:53 +1000 Subject: add gsm to connectable bearer for networkmanager. Reviewed-by: trustme --- src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- cgit v0.12