aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-11-02 11:24:14 -0400
committerKen Moore <ken@ixsystems.com>2017-11-02 11:24:14 -0400
commitd7d0a2508d768583ffbc152e5a06363d7fc17ccb (patch)
tree3267ab98649c5ca466b883c2c90cf7325c5ca3dc /src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
parentFinish up the /media parsing for LuminaOS-FreeBSD (diff)
downloadlumina-d7d0a2508d768583ffbc152e5a06363d7fc17ccb.tar.gz
lumina-d7d0a2508d768583ffbc152e5a06363d7fc17ccb.tar.bz2
lumina-d7d0a2508d768583ffbc152e5a06363d7fc17ccb.zip
A bit more cleanup on the external device reporting/usage.
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
index 6ff144d5..29a58ec9 100644
--- a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
@@ -66,7 +66,7 @@ QStringList LOS::ExternalDevicePaths(){
for(int i=0; i<list.length(); i++){
//qDebug() << "Found media entry:" << list[i].fileName();
if(list[i].isDir()){
- devs << "UNKNOWN::::directory::::/media/"+list[i].fileName();
+ devs << "UNKNOWN::::::::/media/"+list[i].fileName();
}else if(list[i].fileName().endsWith(".desktop")){
QString type = list[i].fileName().section(".desktop",0,-2);
//Determine the type of hardware device based on the dev node
@@ -75,7 +75,7 @@ QStringList LOS::ExternalDevicePaths(){
else if(type.startsWith("mmsd")){ type = "SDCARD"; }
else if(type.startsWith("cd")||type.startsWith("acd")){ type="DVD"; }
else{ type = "UNKNOWN"; }
- devs << type+"::::unknown::::/media/"+list[i].fileName();
+ devs << type+"::::::::/media/"+list[i].fileName();
}
}
return devs;
bgstack15