summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-31 23:13:41 (UTC)
committer harlekin <harlekin>2002-10-31 23:13:41 (UTC)
commitaad44cbe72cda54a92e5f777fb3f4ea7d01cc429 (patch) (unidiff)
treecc922addb9fcc5a709870162923c70136cfb8e37
parent0fcca5c3bf885262393a9c3291e5c1823fe1b1b9 (diff)
downloadopie-aad44cbe72cda54a92e5f777fb3f4ea7d01cc429.zip
opie-aad44cbe72cda54a92e5f777fb3f4ea7d01cc429.tar.gz
opie-aad44cbe72cda54a92e5f777fb3f4ea7d01cc429.tar.bz2
added ipaqs mmc slot to storage
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/storage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/storage.cpp b/library/storage.cpp
index 35e0255..937908d 100644
--- a/library/storage.cpp
+++ b/library/storage.cpp
@@ -105,6 +105,7 @@ void StorageInfo::update()
105 QString fs = me->mnt_fsname; 105 QString fs = me->mnt_fsname;
106 if ( fs.left(7)=="/dev/hd" || fs.left(7)=="/dev/sd" 106 if ( fs.left(7)=="/dev/hd" || fs.left(7)=="/dev/sd"
107 || fs.left(8)=="/dev/mtd" || fs.left(9) == "/dev/mmcd" 107 || fs.left(8)=="/dev/mtd" || fs.left(9) == "/dev/mmcd"
108 || fs.left( 14 ) == "/dev/mmc/part1"
108 || fs.left(5)=="tmpfs" ) 109 || fs.left(5)=="tmpfs" )
109 { 110 {
110 n++; 111 n++;
@@ -144,6 +145,9 @@ void StorageInfo::update()
144 } else if ( disk.left(9) == "/dev/mmcd" ) { 145 } else if ( disk.left(9) == "/dev/mmcd" ) {
145 humanname = tr("SD Card"); 146 humanname = tr("SD Card");
146 removable = TRUE; 147 removable = TRUE;
148 } else if ( disk.left( 14 ) == "/dev/mmc/part1" ) {
149 humanname = tr("MMC Card");
150 removable = TRUE;
147 } else if ( disk.left(7) == "/dev/hd" ) 151 } else if ( disk.left(7) == "/dev/hd" )
148 humanname = tr("Hard Disk") + " " + disk; 152 humanname = tr("Hard Disk") + " " + disk;
149 else if ( disk.left(7) == "/dev/sd" ) 153 else if ( disk.left(7) == "/dev/sd" )