summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/ostorageinfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopie2/opiecore/ostorageinfo.cpp b/libopie2/opiecore/ostorageinfo.cpp
index 8fcf5fc..6c7c138 100644
--- a/libopie2/opiecore/ostorageinfo.cpp
+++ b/libopie2/opiecore/ostorageinfo.cpp
@@ -75,9 +75,10 @@ QString OStorageInfo::mmcPath()const
75 QString r = ""; 75 QString r = "";
76 76
77 for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) 77 for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i)
78 { 78 {
79 if ( (*i)->disk().left( 14 ) == "/dev/mmc/part1" ) 79 if ( (*i)->disk().left( 14 ) == "/dev/mmc/part1"||
80 (*i)->disk().left(11) == "/dev/mmcblk" )
80 { 81 {
81 r = (*i)->path(); 82 r = (*i)->path();
82 break; 83 break;
83 } 84 }