summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp3
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp9
2 files changed, 6 insertions, 6 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()
}
- setOtherTabCurrent();
- populateView();
-// populateLocalView();
+ populateView();
+ setOtherTabCurrent();
+ populateView();
}