From 2b31930ef559a2893f47aa866a706ea13d99a6f5 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sat, 25 Sep 2004 04:52:52 +0000 Subject: more redundant code --- (limited to 'noncore') 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 @@ -368,6 +368,9 @@ void AdvancedFm::CFButtonPushed() { changeTo("/mnt/hda"); //ipaq } +void AdvancedFm::QPEButtonPushed() { + changeTo(QPEApplication::qpeDir()); +} void AdvancedFm::doAbout() { QMessageBox::message("AdvancedFm",tr("

Advanced FileManager is copyright 2002-2003 by L.J.Potter and is licensed by the GPL

")); @@ -428,14 +431,6 @@ 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) { fileSystemTypeList.clear(); -- cgit v0.9.0.2