author | llornkcor <llornkcor> | 2003-02-24 03:49:20 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-02-24 03:49:20 (UTC) |
commit | 04470810d71cc8aa3ddde193559312fd3ecc7a11 (patch) (side-by-side diff) | |
tree | f9d291fed1aa1627927863fc0381d6d15f6b6f7e | |
parent | e144592570ddacf26d27f3e2759dbe7f2370d0a0 (diff) | |
download | opie-04470810d71cc8aa3ddde193559312fd3ecc7a11.zip opie-04470810d71cc8aa3ddde193559312fd3ecc7a11.tar.gz opie-04470810d71cc8aa3ddde193559312fd3ecc7a11.tar.bz2 |
fix for hidden dirs
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 6 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index fc6c3bf..d56e746 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -287,5 +287,4 @@ void AdvancedFm::ListPressed( int mouse, QListViewItem *, const QPoint& , int ) cancelRename(); } - } break; @@ -394,5 +393,4 @@ void AdvancedFm::docButtonPushed() QString current = QPEApplication::documentDir(); chdir( current.latin1() ); - CurrentDir()->cd( current, TRUE); populateView(); @@ -416,5 +414,4 @@ void AdvancedFm::CFButtonPushed() else current = "/mnt/hda"; //ipaq - chdir( current.latin1() ); CurrentDir()->cd( current, TRUE); @@ -788,5 +785,6 @@ void AdvancedFm::removeCustomDir() if(list.grep(dir,true).isEmpty()) { - QMessageBox::message("AdvancedFm",tr("Cannot remove current directory\nfrom bookmarks.\nIt is not bookmarked!!")); + QMessageBox::message("AdvancedFm", + tr("Cannot remove current directory\nfrom bookmarks.\nIt is not bookmarked!!")); } else diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index c553017..062a013 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp @@ -56,6 +56,6 @@ void AdvancedFm::showMenuHidden() if (b) { - currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); - currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); + CurrentDir()->setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); + OtherDir()->setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); fileMenu->setItemChecked( fileMenu->idAt(0),TRUE); // b=FALSE; @@ -64,6 +64,6 @@ void AdvancedFm::showMenuHidden() else { - currentDir.setFilter( QDir::Files | QDir::Dirs/* | QDir::Hidden*/ | QDir::All); - currentRemoteDir.setFilter( QDir::Files | QDir::Dirs/* | QDir::Hidden*/ | QDir::All); + CurrentDir()->setFilter( QDir::Files | QDir::Dirs/* | QDir::Hidden*/ | QDir::All); + OtherDir()->setFilter( QDir::Files | QDir::Dirs/* | QDir::Hidden*/ | QDir::All); fileMenu->setItemChecked( fileMenu->idAt(0),FALSE); // b=TRUE; @@ -80,4 +80,5 @@ void AdvancedFm::showHidden() { CurrentDir()->setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); + OtherDir()->setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); // fileMenu->setItemChecked( fileMenu->idAt(0),TRUE); // b=FALSE; @@ -87,4 +88,5 @@ void AdvancedFm::showHidden() { CurrentDir()->setFilter( QDir::Files | QDir::Dirs/* | QDir::Hidden*/ | QDir::All); +s OtherDir()->setFilter( QDir::Files | QDir::Dirs/* | QDir::Hidden*/ | QDir::All); // fileMenu->setItemChecked( fileMenu->idAt(0),FALSE); // b=TRUE; |