-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 3 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 5 |
2 files changed, 4 insertions, 4 deletions
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 @@ -228,8 +228,9 @@ void AdvancedFm::init() { 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 @@ -35,5 +35,4 @@ #include <qtabwidget.h> #include <qtoolbutton.h> -#include <qtabwidget.h> #include <qlineedit.h> #include <qlistview.h> @@ -72,5 +71,5 @@ void AdvancedFm::showMenuHidden() rePopulate(); // if(b) qDebug("<<<<<<<<<<<<<<<<<<<<<<<<<<<< true"); - if(b) b = false; else b = true; + b = !b; } @@ -521,7 +520,7 @@ void AdvancedFm::move() } + populateView(); setOtherTabCurrent(); populateView(); -// populateLocalView(); } |