summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-09-25 06:18:09 (UTC)
committer llornkcor <llornkcor>2004-09-25 06:18:09 (UTC)
commitc47a2d0e8ec283737f7c43474be4cf8070cde046 (patch) (side-by-side diff)
tree3555656a8cc575c04432894eccbd7d4514560365
parent0671201a4527973c41adad5f5681938da7f1f824 (diff)
downloadopie-c47a2d0e8ec283737f7c43474be4cf8070cde046.zip
opie-c47a2d0e8ec283737f7c43474be4cf8070cde046.tar.gz
opie-c47a2d0e8ec283737f7c43474be4cf8070cde046.tar.bz2
remove
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp7
-rw-r--r--noncore/apps/advancedfm/advancedfm.h1
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp2
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp12
4 files changed, 4 insertions, 18 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 9721f84..6f017b4 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -321,13 +321,6 @@ void AdvancedFm::fillCombo(const QString &currentPath) {
}
}
-void AdvancedFm::currentPathComboActivated(const QString & currentPath) {
- chdir( currentPath.latin1() );
- CurrentDir()->cd( currentPath, TRUE);
- populateView();
- update();
-}
-
QStringList AdvancedFm::getPath() {
QStringList strList;
QListView *thisView=CurrentView();
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h
index 00ab909..6f7eb96 100644
--- a/noncore/apps/advancedfm/advancedfm.h
+++ b/noncore/apps/advancedfm/advancedfm.h
@@ -153,7 +153,6 @@ protected slots:
void move();
void moveTimer();
- void currentPathComboActivated(const QString &);
void fillCombo(const QString &);
bool copyFile( const QString & , const QString & );
void fileStatus();
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp
index fe565a0..1047c5a 100644
--- a/noncore/apps/advancedfm/advancedfmData.cpp
+++ b/noncore/apps/advancedfm/advancedfmData.cpp
@@ -255,7 +255,7 @@ void AdvancedFm::initConnections()
connect( cdUpButton ,SIGNAL(released()), this,SLOT( upDir()) );
connect( docButton,SIGNAL(released()), this,SLOT( docButtonPushed()) );
connect( homeButton,SIGNAL(released()), this,SLOT( homeButtonPushed()) );
- connect( currentPathCombo, SIGNAL( activated(const QString&) ), this, SLOT( currentPathComboActivated(const QString&) ) );
+ connect( currentPathCombo, SIGNAL( activated(const QString&) ), this, SLOT( changeTo(const QString&) ) );
connect( currentPathCombo->lineEdit(),SIGNAL(returnPressed()), this,SLOT(currentPathComboChanged()));
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index 706658e..7b3dcf6 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -259,16 +259,10 @@ void AdvancedFm::doProperties() {
}
void AdvancedFm::upDir() {
- QDir *thisDir = CurrentDir();
- QString current = thisDir->canonicalPath();
- QDir dir(current);
- dir.cdUp();
- current = dir.canonicalPath();
- chdir( current.latin1() );
- thisDir->cd( current, TRUE);
- populateView();
- update();
+ QDir dir( CurrentDir()->canonicalPath());
+ dir.cdUp();
+ changeTo(dir.canonicalPath());
}
void AdvancedFm::copyTimer() {