From cf3921fe77f87e94ff821df65bb80b02487a9f9b Mon Sep 17 00:00:00 2001 From: llornkcor Date: Thu, 17 Jul 2003 19:51:45 +0000 Subject: show no hidden default. fix for nonfresh after move, via patch. thanks --- diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index a120f35..45dc0c4 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp @@ -227,10 +227,11 @@ void AdvancedFm::init() { currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); currentRemoteDir.setPath( QDir::currentDirPath()); - b = TRUE; + // b = TRUE; filterStr="*"; b=FALSE; + showMenuHidden(); TabWidget->setCurrentTab(0); } diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index 00d0e07..544350c 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include @@ -71,7 +70,7 @@ void AdvancedFm::showMenuHidden() } rePopulate(); // if(b) qDebug("<<<<<<<<<<<<<<<<<<<<<<<<<<<< true"); - if(b) b = false; else b = true; + b = !b; } void AdvancedFm::showHidden() @@ -520,9 +519,9 @@ void AdvancedFm::move() } } - setOtherTabCurrent(); - populateView(); -// populateLocalView(); + populateView(); + setOtherTabCurrent(); + populateView(); } bool AdvancedFm::copyFile( const QString & src, const QString & dest ) -- cgit v0.9.0.2