-rw-r--r-- | libopie2/opiecore/ostorageinfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libopie2/opiecore/ostorageinfo.cpp b/libopie2/opiecore/ostorageinfo.cpp index 6c7c138..6a3646e 100644 --- a/libopie2/opiecore/ostorageinfo.cpp +++ b/libopie2/opiecore/ostorageinfo.cpp | |||
@@ -61,7 +61,8 @@ QString OStorageInfo::sdPath()const | |||
61 | 61 | ||
62 | for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) | 62 | for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) |
63 | { | 63 | { |
64 | if ( (*i)->disk().left( 9 ) == "/dev/mmcd" ) | 64 | if ( (*i)->disk().left( 9 ) == "/dev/mmcd" || |
65 | (*i)->disk().left( 14 ) == "/dev/mmc/part1" ) | ||
65 | { | 66 | { |
66 | r = (*i)->path(); | 67 | r = (*i)->path(); |
67 | break; | 68 | break; |