-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( ) | |||
209 | currentRemoteDir.setPath( QDir::currentDirPath()); | 209 | currentRemoteDir.setPath( QDir::currentDirPath()); |
210 | 210 | ||
211 | b = TRUE; | 211 | b = TRUE; |
212 | currentPathCombo = new QComboBox( FALSE, this, "currentPathCombo" ); | 212 | currentPathCombo = new QComboBox( FALSE, this, "currentPathCombo" ); |
213 | currentPathCombo->setEditable(TRUE); | 213 | currentPathCombo->setEditable(TRUE); |
214 | layout->addMultiCellWidget( currentPathCombo, 3, 3, 0, 6); | 214 | layout->addMultiCellWidget( currentPathCombo, 3, 3, 0, 6); |
@@ -563,5 +563,5 @@ void AdvancedFm::doRemoteCd() | |||
563 | void AdvancedFm::showHidden() | 563 | void AdvancedFm::showHidden() |
564 | { | 564 | { |
565 | if (!b) { | 565 | if (b) { |
566 | currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); | 566 | currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); |
567 | // localMenu->setItemChecked(localMenu->idAt(0),TRUE); | 567 | // localMenu->setItemChecked(localMenu->idAt(0),TRUE); |
@@ -580,5 +580,5 @@ void AdvancedFm::showHidden() | |||
580 | void AdvancedFm::showRemoteHidden() | 580 | void AdvancedFm::showRemoteHidden() |
581 | { | 581 | { |
582 | if (!b) { | 582 | if (b) { |
583 | currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); | 583 | currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); |
584 | // viewMenu->setItemChecked(localMenu->idAt(0),TRUE); | 584 | // viewMenu->setItemChecked(localMenu->idAt(0),TRUE); |
@@ -644,5 +644,5 @@ void AdvancedFm::showLocalMenu(QListViewItem * item) | |||
644 | m.insertItem( tr( "Properties" ), this, SLOT( doProperties() )); | 644 | m.insertItem( tr( "Properties" ), this, SLOT( doProperties() )); |
645 | m.setCheckable(TRUE); | 645 | m.setCheckable(TRUE); |
646 | if (b) | 646 | if (!b) |
647 | m.setItemChecked(m.idAt(0),TRUE); | 647 | m.setItemChecked(m.idAt(0),TRUE); |
648 | else | 648 | else |
@@ -677,5 +677,5 @@ void AdvancedFm::showRemoteMenu(QListViewItem * item) | |||
677 | m.insertItem( tr( "Properties" ), this, SLOT( doProperties() )); | 677 | m.insertItem( tr( "Properties" ), this, SLOT( doProperties() )); |
678 | m.setCheckable(TRUE); | 678 | m.setCheckable(TRUE); |
679 | if (b) | 679 | if (!b) |
680 | m.setItemChecked(m.idAt(0),TRUE); | 680 | m.setItemChecked(m.idAt(0),TRUE); |
681 | else | 681 | else |