summaryrefslogtreecommitdiffstats
path: root/kcontrol/usbview/usbdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/usbview/usbdb.cpp')
-rw-r--r--kcontrol/usbview/usbdb.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/kcontrol/usbview/usbdb.cpp b/kcontrol/usbview/usbdb.cpp
index c786ca40e..be5f3b63a 100644
--- a/kcontrol/usbview/usbdb.cpp
+++ b/kcontrol/usbview/usbdb.cpp
@@ -22,16 +22,13 @@
#include "usbdb.h"
-
USBDB::USBDB()
{
-#ifndef USBIDS_FILE
- TQString db = "/usr/share/hwdata/usb.ids"; /* on Fedora */
- if (!TQFile::exists(db))
- db = locate("data", "kcmusb/usb.ids");
-#else
TQString db = USBIDS_FILE;
-#endif
+
+ if (!TQFile::exists(db))
+ TQString db = locate("data", "kcmusb/usb.ids");
+
if (db.isEmpty())
return;