summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rbutil/rbutilqt/base/systeminfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.cpp b/rbutil/rbutilqt/base/systeminfo.cpp
index 25ef4a1a42..ed4d78e678 100644
--- a/rbutil/rbutilqt/base/systeminfo.cpp
+++ b/rbutil/rbutilqt/base/systeminfo.cpp
@@ -203,7 +203,7 @@ QMap<int, QStringList> SystemInfo::usbIdMap(enum MapType type)
if(id == 0) {
continue;
}
- if(map.keys().contains(id)) {
+ if(map.contains(id)) {
l = map.take(id);
}
l.append(target);