diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2008-06-27 21:53:22 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2008-06-27 21:53:22 +0000 |
commit | 7fb11a82a1f899655e7d5a4a6ff5c39d9dc27b8f (patch) | |
tree | 88e64d6ce08ba120e6d879c23d93a26ec497f52f /rbutil/rbutilqt/autodetection.cpp | |
parent | 3867cf9181b105900a965fa12568c21469fec135 (diff) | |
download | rockbox-7fb11a82a1f899655e7d5a4a6ff5c39d9dc27b8f.tar.gz rockbox-7fb11a82a1f899655e7d5a4a6ff5c39d9dc27b8f.zip |
rbutil: move some detecting code, to make detecing things nicer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17813 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/autodetection.cpp')
-rw-r--r-- | rbutil/rbutilqt/autodetection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/autodetection.cpp b/rbutil/rbutilqt/autodetection.cpp index f257f5c0c9..c356cc6307 100644 --- a/rbutil/rbutilqt/autodetection.cpp +++ b/rbutil/rbutilqt/autodetection.cpp | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <windows.h> | 40 | #include <windows.h> |
41 | #include <setupapi.h> | 41 | #include <setupapi.h> |
42 | #endif | 42 | #endif |
43 | #include "utils.h" | 43 | #include "detect.h" |
44 | 44 | ||
45 | Autodetection::Autodetection(QObject* parent): QObject(parent) | 45 | Autodetection::Autodetection(QObject* parent): QObject(parent) |
46 | { | 46 | { |
@@ -267,7 +267,7 @@ bool Autodetection::detectUsb() | |||
267 | 267 | ||
268 | // usb pid detection | 268 | // usb pid detection |
269 | QList<uint32_t> attached; | 269 | QList<uint32_t> attached; |
270 | attached = listUsbIds(); | 270 | attached = Detect::listUsbIds(); |
271 | 271 | ||
272 | int i = attached.size(); | 272 | int i = attached.size(); |
273 | while(i--) { | 273 | while(i--) { |