diff options
author | Rubin Simons <rubin.simons@raaftech.com> | 2016-03-24 14:52:19 +0100 |
---|---|---|
committer | Rubin Simons <rubin.simons@raaftech.com> | 2016-03-24 14:52:19 +0100 |
commit | 9c04ba2043d4eb5cfe6247773cfdc114dc55e3ac (patch) | |
tree | 0803844c8af9767e3ae582ab5f9c2436b149e2c0 | |
parent | But still, it's nice to have a Categories in there because #183 (diff) | |
download | lumina-9c04ba2043d4eb5cfe6247773cfdc114dc55e3ac.tar.gz lumina-9c04ba2043d4eb5cfe6247773cfdc114dc55e3ac.tar.bz2 lumina-9c04ba2043d4eb5cfe6247773cfdc114dc55e3ac.zip |
Typo in linux operating system classes fixed.
-rw-r--r-- | libLumina/LuminaOS-Debian.cpp | 2 | ||||
-rw-r--r-- | libLumina/LuminaOS-Gentoo.cpp | 2 | ||||
-rw-r--r-- | libLumina/LuminaOS-Linux.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libLumina/LuminaOS-Debian.cpp b/libLumina/LuminaOS-Debian.cpp index e351ddd0..75aad108 100644 --- a/libLumina/LuminaOS-Debian.cpp +++ b/libLumina/LuminaOS-Debian.cpp @@ -40,7 +40,7 @@ QStringList LOS::ExternalDevicePaths(){ QString type = devs[i].section(" on ",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"; } diff --git a/libLumina/LuminaOS-Gentoo.cpp b/libLumina/LuminaOS-Gentoo.cpp index 4029ee51..e3d5fe56 100644 --- a/libLumina/LuminaOS-Gentoo.cpp +++ b/libLumina/LuminaOS-Gentoo.cpp @@ -40,7 +40,7 @@ QStringList LOS::ExternalDevicePaths(){ QString type = devs[i].section(" on ",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"; } 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"; } |