summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/autodetection.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-04-01 20:37:13 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-04-04 22:42:22 +0200
commit5ce21366d799c92e1f01abde9d42e0959622c628 (patch)
treecf4492f972d7f183b306f5e87dbc94d3c9e92cf8 /rbutil/rbutilqt/base/autodetection.cpp
parentf84602aa68e8bc45f0e15de23e454927fe603a29 (diff)
downloadrockbox-5ce21366d799c92e1f01abde9d42e0959622c628.tar.gz
rockbox-5ce21366d799c92e1f01abde9d42e0959622c628.tar.bz2
rockbox-5ce21366d799c92e1f01abde9d42e0959622c628.zip
Extend Utils::mountpoints() to allow filtering for supported types.
Instead of trying every mountpoint during autodetection allow filtering out filesystems that are not supported when retrieving the system mountpoints. Change-Id: Ic23a5c804cb7c78c146dbc1af7443c67ce12464e
Diffstat (limited to 'rbutil/rbutilqt/base/autodetection.cpp')
-rw-r--r--rbutil/rbutilqt/base/autodetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/autodetection.cpp b/rbutil/rbutilqt/base/autodetection.cpp
index 4144cca19d..fa2fe63cb8 100644
--- a/rbutil/rbutilqt/base/autodetection.cpp
+++ b/rbutil/rbutilqt/base/autodetection.cpp
@@ -42,7 +42,7 @@ bool Autodetection::detect()
detectUsb();
// Try detection via rockbox.info / rbutil.log
- QStringList mounts = Utils::mountpoints();
+ QStringList mounts = Utils::mountpoints(Utils::MountpointsSupported);
qDebug() << "[Autodetect] paths to check:" << mounts;
for(int i=0; i< mounts.size();i++)