summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index fd81313..979549d 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -334,8 +334,13 @@ void AdvancedFm::docButtonPushed() {
334 334
335void AdvancedFm::SDButtonPushed() { 335void AdvancedFm::SDButtonPushed() {
336 Opie::Core::OStorageInfo info; 336 Opie::Core::OStorageInfo info;
337 if(StorageInfo::hasSd() ) {
337 changeTo(info.sdPath()); 338 changeTo(info.sdPath());
338} 339}
340 else if(StorageInfo::hasMmc()) {
341 changeTo(info.mmcPath());
342 }
343}
339 344
340void AdvancedFm::CFButtonPushed() { 345void AdvancedFm::CFButtonPushed() {
341 Opie::Core::OStorageInfo info; 346 Opie::Core::OStorageInfo info;