diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-18 01:05:32 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-18 01:05:32 -0500 |
commit | 5b16595440dec27ac241949321d425617b129aeb (patch) | |
tree | c72ee1d729fef6137c70946783fa046877f9749c /tdecore/tdehardwaredevices.cpp | |
parent | 0f6250882c0329bc864a4401f65e21b744962234 (diff) | |
download | tdelibs-5b16595440dec27ac241949321d425617b129aeb.tar.gz tdelibs-5b16595440dec27ac241949321d425617b129aeb.zip |
Fix several warnings and excessive .xsession-errors log spam when network-manager VPN service is not available
Diffstat (limited to 'tdecore/tdehardwaredevices.cpp')
-rw-r--r-- | tdecore/tdehardwaredevices.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tdecore/tdehardwaredevices.cpp b/tdecore/tdehardwaredevices.cpp index 9437c77d3..ddad3cc55 100644 --- a/tdecore/tdehardwaredevices.cpp +++ b/tdecore/tdehardwaredevices.cpp @@ -4083,6 +4083,9 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD if (devicesubsystem == "pci") { if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::OtherPeripheral); } + if (devicesubsystem == "cpu") { + if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); + } } if (device == 0) { |