-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 @@ -229,3 +229,3 @@ void AdvancedFm::init() { - b = TRUE; + // b = TRUE; @@ -233,2 +233,3 @@ void AdvancedFm::init() { 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 @@ -36,3 +36,2 @@ #include <qtoolbutton.h> -#include <qtabwidget.h> #include <qlineedit.h> @@ -73,3 +72,3 @@ void AdvancedFm::showMenuHidden() // if(b) qDebug("<<<<<<<<<<<<<<<<<<<<<<<<<<<< true"); - if(b) b = false; else b = true; + b = !b; } @@ -522,5 +521,5 @@ void AdvancedFm::move() } + populateView(); setOtherTabCurrent(); populateView(); -// populateLocalView(); } |