-rw-r--r-- | library/storage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/storage.cpp b/library/storage.cpp index 13639fe..35e0255 100644 --- a/library/storage.cpp +++ b/library/storage.cpp | |||
@@ -147,5 +147,5 @@ void StorageInfo::update() | |||
147 | } else if ( disk.left(7) == "/dev/hd" ) | 147 | } else if ( disk.left(7) == "/dev/hd" ) |
148 | humanname = tr("Hard Disk") + " " + disk.mid(7); | 148 | humanname = tr("Hard Disk") + " " + disk; |
149 | else if ( disk.left(7) == "/dev/sd" ) | 149 | else if ( disk.left(7) == "/dev/sd" ) |
150 | humanname = tr("SCSI Hard Disk") + " " + disk.mid(7); | 150 | humanname = tr("SCSI Hard Disk") + " " + disk; |
151 | else if ( disk.left(14) == "/dev/mtdblock6" ) //openzaurus ramfs | 151 | else if ( disk.left(14) == "/dev/mtdblock6" ) //openzaurus ramfs |
@@ -155,5 +155,5 @@ void StorageInfo::update() | |||
155 | else if ( disk.left(14) == "/dev/mtdblock/" ) | 155 | else if ( disk.left(14) == "/dev/mtdblock/" ) |
156 | humanname = tr("Internal Storage") + " " + disk.mid(14); | 156 | humanname = tr("Internal Storage") + " " + disk; |
157 | else if ( disk.left(13) == "/dev/mtdblock" ) | 157 | else if ( disk.left(13) == "/dev/mtdblock" ) |
158 | humanname = tr("Internal Storage") + " " + disk.mid(13); | 158 | humanname = tr("Internal Storage") + " " + disk; |
159 | else if ( disk.left(5) == "tmpfs" ) //ipaqs /mnt/ramfs | 159 | else if ( disk.left(5) == "tmpfs" ) //ipaqs /mnt/ramfs |