According to this Qt bug it should be possibe to access "volumes" when hidden objects are included in the model's filter. So if someone on Mac OS X could please test if this patch would fix it that would be greatly appreciated:

Code:
rene@thunder:~/src/qmc2> svn diff
Index: deviceconfigurator.cpp
===================================================================
--- deviceconfigurator.cpp      (revision 6766)
+++ deviceconfigurator.cpp      (working copy)
@@ -2151,7 +2151,7 @@
 
        treeViewDirChooser->setUpdatesEnabled(false);
        dirModel = new DirectoryModel(this);
-       dirModel->setFilter(QDir::Dirs | QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Drives | QDir::CaseSensitive);
+       dirModel->setFilter(QDir::Dirs | QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Drives | QDir::CaseSensitive | QDir::Hidden);
 #if defined(QMC2_OS_WIN)
        dirModel->setRootPath(dirModel->myComputer().toString());
 #else
Index: filesystemmodel.h
===================================================================
--- filesystemmodel.h   (revision 6766)
+++ filesystemmodel.h   (working copy)
@@ -149,7 +149,10 @@
                                                }
                                        }
 #else
-                                       QDirIterator dirIterator(dirPath, nameFilters, includeFolders ? QDir::Files | QDir::Dirs | QDir::NoDot : QDir::Files);
+                                       QDir::Filters filters = QDir::Files | QDir::Hidden;
+                                       if ( includeFolders )
+                                               filters =  QDir::Files | QDir::Dirs | QDir::NoDot | QDir::Hidden;
+                                       QDirIterator dirIterator(dirPath, nameFilters, filters);
                                        while ( !stopScanning && !quitFlag && dirIterator.hasNext() ) {
                                                dirIterator.next();
                                                dirEntries << dirIterator.fileName();

EDIT: That's in SVN r6777 now since it may be useful to include hidden files and folders on Linux/UNIX as well (for other reasons).

Last edited by qmc2; 06/29/15 06:35 AM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]