From 5ce21366d799c92e1f01abde9d42e0959622c628 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Mon, 1 Apr 2013 20:37:13 +0200 Subject: 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 --- rbutil/rbutilqt/base/autodetection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rbutil/rbutilqt/base/autodetection.cpp') 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++) -- cgit v1.2.3