summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2005-03-24 20:14:38 (UTC)
committer llornkcor <llornkcor>2005-03-24 20:14:38 (UTC)
commit1e6c3181dcc7ec4edbe99db0d886ce7a9c483056 (patch) (unidiff)
tree38e98006c0bb49bb6b1008dddb840e961bb2b775
parent38ace7e9b3c9665336c0e6d2350895b147858f1f (diff)
downloadopie-1e6c3181dcc7ec4edbe99db0d886ce7a9c483056.zip
opie-1e6c3181dcc7ec4edbe99db0d886ce7a9c483056.tar.gz
opie-1e6c3181dcc7ec4edbe99db0d886ce7a9c483056.tar.bz2
cd to sd or mmc
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp9
1 files changed, 7 insertions, 2 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
@@ -333,8 +333,13 @@ void AdvancedFm::docButtonPushed() {
333} 333}
334 334
335void AdvancedFm::SDButtonPushed() { 335void AdvancedFm::SDButtonPushed() {
336 Opie::Core::OStorageInfo info; 336 Opie::Core::OStorageInfo info;
337 changeTo(info.sdPath()); 337 if(StorageInfo::hasSd() ) {
338 changeTo(info.sdPath());
339 }
340 else if(StorageInfo::hasMmc()) {
341 changeTo(info.mmcPath());
342 }
338} 343}
339 344
340void AdvancedFm::CFButtonPushed() { 345void AdvancedFm::CFButtonPushed() {