summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-18 00:12:24 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-18 00:12:24 (GMT)
commit49f63d8f37fcd45ebe527f3554ff7b4c34d8545e (patch)
treed00a20f7a61f6d6c5cb0dcd5d32de49a653cb113 /src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp
parent4cd7e2ebd675fdc0b00d9a29f64e4189e74f7656 (diff)
downloadQt-49f63d8f37fcd45ebe527f3554ff7b4c34d8545e.zip
Qt-49f63d8f37fcd45ebe527f3554ff7b4c34d8545e.tar.gz
Qt-49f63d8f37fcd45ebe527f3554ff7b4c34d8545e.tar.bz2
Don't load NetworkManager plugin in NetworkManager is not available.
Diffstat (limited to 'src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp')
-rw-r--r--src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp b/src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp
index 7617e94..5dc0ea4 100644
--- a/src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp
+++ b/src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp
@@ -78,7 +78,6 @@ QNetworkManagerInterface::QNetworkManagerInterface(QObject *parent)
NM_DBUS_INTERFACE,
dbusConnection);
if (!d->connectionInterface->isValid()) {
- qWarning() << "Could not find NetworkManager";
d->valid = false;
return;
}
@@ -321,7 +320,7 @@ QNetworkManagerInterfaceDevice::QNetworkManagerInterfaceDevice(const QString &de
dbusConnection);
if (!d->connectionInterface->isValid()) {
d->valid = false;
- qWarning() << "Could not find NetworkManager";
+ qWarning() << "Could not find NetworkManagerInterfaceDevice";
return;
}
d->valid = true;