summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-06-13 12:26:59 +0200
committergregory guy <gregory-tde@laposte.net>2021-06-13 17:59:42 +0200
commitd7fad5b469b32b685151cbc50370488134378202 (patch)
treea8ffaa350031125398fac644876e8d99eb4e6609
parent77de34391ccb667b81dd54e5af17ce660ed99a25 (diff)
downloadtdelibs-d7fad5b469b32b685151cbc50370488134378202.tar.gz
tdelibs-d7fad5b469b32b685151cbc50370488134378202.zip
As default behaviour, use hwdata files for pci and usb ids files.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index 441db942d..7655c23a6 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -3800,7 +3800,7 @@ TQString TDEHardwareDevices::findPCIDeviceName(TQString vendorid, TQString model
if (!pci_id_map) {
pci_id_map = new TDEDeviceIDMap;
- TQString database_filename = "/usr/share/pci.ids";
+ TQString database_filename = "/usr/share/hwdata/pci.ids";
if (!TQFile::exists(database_filename)) {
database_filename = "/usr/share/misc/pci.ids";
}
@@ -3910,7 +3910,7 @@ TQString TDEHardwareDevices::findUSBDeviceName(TQString vendorid, TQString model
if (!usb_id_map) {
usb_id_map = new TDEDeviceIDMap;
- TQString database_filename = "/usr/share/usb.ids";
+ TQString database_filename = "/usr/share/hwdata/usb.ids";
if (!TQFile::exists(database_filename)) {
database_filename = "/usr/share/misc/usb.ids";
}