diff options
author | Ken Moore <moorekou@gmail.com> | 2016-03-24 09:59:07 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-03-24 09:59:07 -0400 |
commit | 248abdd8e1a5bd121fa4d265e2edcaad5f4a5f08 (patch) | |
tree | bcc9ea9c8deaa1360ee2362d386f1cce83edbc1b /libLumina/LuminaOS-Linux.cpp | |
parent | Merge pull request #207 from rubin55/master (diff) | |
parent | Renamed ebuild to match Gentoo guidelines for git checkouts, applied recommen... (diff) | |
download | lumina-248abdd8e1a5bd121fa4d265e2edcaad5f4a5f08.tar.gz lumina-248abdd8e1a5bd121fa4d265e2edcaad5f4a5f08.tar.bz2 lumina-248abdd8e1a5bd121fa4d265e2edcaad5f4a5f08.zip |
Merge pull request #208 from rubin55/master
Fix introduced typo in HDRIVE if statement, updated ebuild.
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 7bb803bd..5939c9d1 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.startsWith("nvme"){ 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"; } |