-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 48332b7..9cb9aba 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -369,4 +369,7 @@ void AdvancedFm::CFButtonPushed() { } +void AdvancedFm::QPEButtonPushed() { + changeTo(QPEApplication::qpeDir()); +} void AdvancedFm::doAbout() { @@ -429,12 +432,4 @@ void AdvancedFm::keyReleaseEvent( QKeyEvent *e) { -void AdvancedFm::QPEButtonPushed() { - QString current = QPEApplication::qpeDir(); - chdir( current.latin1() ); - CurrentDir()->cd( current, TRUE); - populateView(); - update(); -} - void AdvancedFm::parsetab(const QString &fileName) { |