From 7bddf2f2becb8451e32d179b1d379f40a28274c2 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 2 Nov 2017 11:07:43 -0400 Subject: Finish up the /media parsing for LuminaOS-FreeBSD --- src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp index a1c82fc9..6ff144d5 100644 --- a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp +++ b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp @@ -61,8 +61,10 @@ QStringList LOS::ExternalDevicePaths(){ } //Also add info about anything in the "/media" directory QDir media("/media"); - QFileInfoList list = media.entryInfoList(QDir::NoDotAndDotDot, QDir::Type | QDir::Name); + QFileInfoList list = media.entryInfoList(QDir::Files | QDir::Dirs | QDir::NoDotAndDotDot, QDir::Type | QDir::Name); + //qDebug() << "Media files found:" << list.length(); for(int i=0; i