-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 4289fcf..5f47b9b 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -209,6 +209,6 @@ AdvancedFm::AdvancedFm( ) currentRemoteDir.setPath( QDir::currentDirPath()); -b = TRUE; - currentPathCombo = new QComboBox( FALSE, this, "currentPathCombo" ); + b = TRUE; + currentPathCombo = new QComboBox( FALSE, this, "currentPathCombo" ); currentPathCombo->setEditable(TRUE); layout->addMultiCellWidget( currentPathCombo, 3, 3, 0, 6); @@ -563,5 +563,5 @@ void AdvancedFm::doRemoteCd() void AdvancedFm::showHidden() { - if (!b) { + if (b) { currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); // localMenu->setItemChecked(localMenu->idAt(0),TRUE); @@ -580,5 +580,5 @@ void AdvancedFm::showHidden() void AdvancedFm::showRemoteHidden() { - if (!b) { + if (b) { currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); // viewMenu->setItemChecked(localMenu->idAt(0),TRUE); @@ -644,5 +644,5 @@ void AdvancedFm::showLocalMenu(QListViewItem * item) m.insertItem( tr( "Properties" ), this, SLOT( doProperties() )); m.setCheckable(TRUE); - if (b) + if (!b) m.setItemChecked(m.idAt(0),TRUE); else @@ -677,5 +677,5 @@ void AdvancedFm::showRemoteMenu(QListViewItem * item) m.insertItem( tr( "Properties" ), this, SLOT( doProperties() )); m.setCheckable(TRUE); - if (b) + if (!b) m.setItemChecked(m.idAt(0),TRUE); else |