diff options
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/networkbackends/network-manager/network-manager.cpp | 4 | ||||
-rw-r--r-- | tdecore/tdehardwaredevices.cpp | 3 |
2 files changed, 5 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; } } diff --git a/tdecore/tdehardwaredevices.cpp b/tdecore/tdehardwaredevices.cpp index 49736d649..f7f90664d 100644 --- a/tdecore/tdehardwaredevices.cpp +++ b/tdecore/tdehardwaredevices.cpp @@ -3907,6 +3907,9 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); } } + if (devicesubsystem == "tifm_adapter") { + if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController); + } if (devicesubsystem == "mmc_host") { if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController); } |