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-23 00:17:15 (GMT) |
commit | 660f752c4db544d6fc5f827589d2f2704684eb8c (patch) | |
tree | 06647ea325318e7cdc9926825a492717a2f96423 /src/plugins/bearer/networkmanager | |
parent | e02d7079ca2851831c8a08e7c4994fe4428363ed (diff) | |
download | Qt-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.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(); |