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 d7fad5b469)
r14.0.x
gregory guy 4 years ago committed by Slávek Banko
parent 3a54b40c67
commit 8e1b27eebf
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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";
}

Loading…
Cancel
Save