diff options
author | gregory guy <gregory-tde@laposte.net> | 2021-06-13 12:26:59 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-06-16 17:30:11 +0200 |
commit | 8e1b27eebf6c3155c503d6e4d109f2fb844109fa (patch) | |
tree | 21ac56d30528cab45cb194afde2a4dfc4bf7bc4d | |
parent | 3a54b40c67d9d0cd79d7d17df5f21544d715baa1 (diff) | |
download | tdelibs-8e1b27eebf6c3155c503d6e4d109f2fb844109fa.tar.gz tdelibs-8e1b27eebf6c3155c503d6e4d109f2fb844109fa.zip |
As default behaviour, use hwdata files for pci and usb ids files.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit d7fad5b469b32b685151cbc50370488134378202)
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index 9b6c874ec..89ad30b32 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -3701,7 +3701,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"; } @@ -3811,7 +3811,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"; } |