-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 3 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 9 |
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 @@ -226,12 +226,13 @@ 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 @@ -33,9 +33,8 @@ #include <qcombobox.h> #include <qpopupmenu.h> #include <qtabwidget.h> #include <qtoolbutton.h> -#include <qtabwidget.h> #include <qlineedit.h> #include <qlistview.h> #include <errno.h> @@ -70,9 +69,9 @@ void AdvancedFm::showMenuHidden() // b=TRUE; } rePopulate(); // if(b) qDebug("<<<<<<<<<<<<<<<<<<<<<<<<<<<< true"); - if(b) b = false; else b = true; + b = !b; } void AdvancedFm::showHidden() { @@ -519,11 +518,11 @@ void AdvancedFm::move() } } } - setOtherTabCurrent(); - populateView(); -// populateLocalView(); + populateView(); + setOtherTabCurrent(); + populateView(); } bool AdvancedFm::copyFile( const QString & src, const QString & dest ) { |