summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp8
1 files changed, 4 insertions, 4 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
@@ -562,7 +562,7 @@ void AdvancedFm::doRemoteCd()
562 562
563void AdvancedFm::showHidden() 563void 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);
568// currentDir.setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst); 568// currentDir.setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst);
@@ -579,7 +579,7 @@ void AdvancedFm::showHidden()
579 579
580void AdvancedFm::showRemoteHidden() 580void 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);
585// currentDir.setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst); 585// currentDir.setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst);
@@ -643,7 +643,7 @@ void AdvancedFm::showLocalMenu(QListViewItem * item)
643 m.insertItem( tr( "Set Permissions" ), this, SLOT( filePerms() )); 643 m.insertItem( tr( "Set Permissions" ), this, SLOT( filePerms() ));
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
649 m.setItemChecked(m.idAt(0),FALSE); 649 m.setItemChecked(m.idAt(0),FALSE);
@@ -676,7 +676,7 @@ void AdvancedFm::showRemoteMenu(QListViewItem * item)
676 m.insertItem( tr( "Set Permissions" ), this, SLOT( filePerms() )); 676 m.insertItem( tr( "Set Permissions" ), this, SLOT( filePerms() ));
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
682 m.setItemChecked(m.idAt(0),FALSE); 682 m.setItemChecked(m.idAt(0),FALSE);