diff options
author | Ken Moore <moorekou@gmail.com> | 2016-03-23 13:31:21 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-03-23 13:31:21 -0400 |
commit | 081572c5eb2ee212493a30e0dfb0b5c46b6cf775 (patch) | |
tree | 41b1d98ca762c4946e9550f4900db624f2226008 /libLumina/LuminaOS-Linux.cpp | |
parent | Fix up the format of the new wallpapers (use jpg instead on png: ~3MB per ima... (diff) | |
parent | But still, it's nice to have a Categories in there because #183 (diff) | |
download | lumina-081572c5eb2ee212493a30e0dfb0b5c46b6cf775.tar.gz lumina-081572c5eb2ee212493a30e0dfb0b5c46b6cf775.tar.bz2 lumina-081572c5eb2ee212493a30e0dfb0b5c46b6cf775.zip |
Merge pull request #207 from rubin55/master
Gentoo support, NVMe disks as HDRIVE, Desktop specification fixes
Diffstat (limited to 'libLumina/LuminaOS-Linux.cpp')
-rw-r--r-- | libLumina/LuminaOS-Linux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaOS-Linux.cpp b/libLumina/LuminaOS-Linux.cpp index eb9ed48f..7bb803bd 100644 --- a/libLumina/LuminaOS-Linux.cpp +++ b/libLumina/LuminaOS-Linux.cpp @@ -37,7 +37,7 @@ QStringList LOS::ExternalDevicePaths(){ QString type = devs[i].section(" ",0,0); type.remove("/dev/"); //Determine the type of hardware device based on the dev node - if(type.startsWith("sd")){ type = "HDRIVE"; } + if(type.startsWith("sd") || type.startsWith("nvme"){ type = "HDRIVE"; } else if(type.startsWith("sr")){ type="DVD"; } else if(type.contains("mapper")){ type="LVM"; } else{ type = "UNKNOWN"; } |