From 67e1de7b4354e6cbd9199a870f847169525483aa Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 9 Jun 2013 19:47:25 +0200 Subject: Only show mountpoints containing a supported filesystem in dropdown. Change configuration to use filtered mountpoints list. Add HFS+ to the list of supported filesystems -- while Rockbox doesn't run on HFS+ MacPods will use that format, and not having them in the list will then make OS X users wonder why their Ipod isn't showing up. This might need to get revised later. Change-Id: I5eeeb05be6780cb3952a0081df0ce782eca01589 --- rbutil/rbutilqt/base/utils.cpp | 6 +++--- rbutil/rbutilqt/configure.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rbutil/rbutilqt/base/utils.cpp b/rbutil/rbutilqt/base/utils.cpp index 92eacbe313..c56d4196b3 100644 --- a/rbutil/rbutilqt/base/utils.cpp +++ b/rbutil/rbutilqt/base/utils.cpp @@ -573,7 +573,7 @@ QStringList Utils::mountpoints(enum MountpointsFilter type) QStringList supported; QStringList tempList; #if defined(Q_OS_WIN32) - supported << "FAT32" << "FAT16" << "FAT12"; + supported << "FAT32" << "FAT16" << "FAT12" << "HFS"; QFileInfoList list = QDir::drives(); for(int i=0; iblockSignals(true); ui.mountPoint->clear(); - QStringList mps = Utils::mountpoints(); + QStringList mps = Utils::mountpoints(Utils::MountpointsSupported); for(int i = 0; i < mps.size(); ++i) { // add mountpoint as user data so we can change the displayed string // later (to include volume label or similar) -- cgit v1.2.3