summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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 6c7c138..6a3646e 100644
--- a/libopie2/opiecore/ostorageinfo.cpp
+++ b/libopie2/opiecore/ostorageinfo.cpp
@@ -61,7 +61,8 @@ QString OStorageInfo::sdPath()const
for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i)
{
- if ( (*i)->disk().left( 9 ) == "/dev/mmcd" )
+ if ( (*i)->disk().left( 9 ) == "/dev/mmcd" ||
+ (*i)->disk().left( 14 ) == "/dev/mmc/part1" )
{
r = (*i)->path();
break;