summaryrefslogtreecommitdiffstats
path: root/tdecore/networkbackends
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-07 02:39:13 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-07 02:39:13 -0500
commit47c56ecaf41ff1ed7fcf7447a0270e5b585f1716 (patch)
tree4bcebc899b6929b3fcbbb5b39092a8c2f89533a3 /tdecore/networkbackends
parentd6816283be06ec485549a312e04c8c61fca30da4 (diff)
downloadtdelibs-47c56ecaf41ff1ed7fcf7447a0270e5b585f1716.tar.gz
tdelibs-47c56ecaf41ff1ed7fcf7447a0270e5b585f1716.zip
Fix network manager interface not returning active connections
Add unclassified TI FlashMedia device
Diffstat (limited to 'tdecore/networkbackends')
-rw-r--r--tdecore/networkbackends/network-manager/network-manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/networkbackends/network-manager/network-manager.cpp b/tdecore/networkbackends/network-manager/network-manager.cpp
index f29d7832c..ac07b8a1a 100644
--- a/tdecore/networkbackends/network-manager/network-manager.cpp
+++ b/tdecore/networkbackends/network-manager/network-manager.cpp
@@ -1909,7 +1909,7 @@ TDENetworkDeviceInformation TDENetworkConnectionManager_BackendNM::deviceInforma
DBus::ActiveConnectionProxy activeConnection(NM_DBUS_SERVICE, connectionPath);
activeConnection.setConnection(TQT_DBusConnection::systemBus());
ret.activeConnectionUUID = activeConnection.getUuid(error);
- if (!error.isValid()) {
+ if (error.isValid()) {
ret.activeConnectionUUID = TQString::null;
}
}
@@ -1934,7 +1934,7 @@ TDENetworkDeviceInformation TDENetworkConnectionManager_BackendNM::deviceStatus(
DBus::ActiveConnectionProxy activeConnection(NM_DBUS_SERVICE, connectionPath);
activeConnection.setConnection(TQT_DBusConnection::systemBus());
ret.activeConnectionUUID = activeConnection.getUuid(error);
- if (!error.isValid()) {
+ if (error.isValid()) {
ret.activeConnectionUUID = TQString::null;
}
}