-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 | |||
@@ -227,10 +227,11 @@ void AdvancedFm::init() { | |||
227 | currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); | 227 | currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); |
228 | currentRemoteDir.setPath( QDir::currentDirPath()); | 228 | currentRemoteDir.setPath( QDir::currentDirPath()); |
229 | 229 | ||
230 | b = TRUE; | 230 | // b = TRUE; |
231 | 231 | ||
232 | filterStr="*"; | 232 | filterStr="*"; |
233 | b=FALSE; | 233 | b=FALSE; |
234 | showMenuHidden(); | ||
234 | TabWidget->setCurrentTab(0); | 235 | TabWidget->setCurrentTab(0); |
235 | 236 | ||
236 | } | 237 | } |
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 @@ | |||
34 | #include <qpopupmenu.h> | 34 | #include <qpopupmenu.h> |
35 | #include <qtabwidget.h> | 35 | #include <qtabwidget.h> |
36 | #include <qtoolbutton.h> | 36 | #include <qtoolbutton.h> |
37 | #include <qtabwidget.h> | ||
38 | #include <qlineedit.h> | 37 | #include <qlineedit.h> |
39 | #include <qlistview.h> | 38 | #include <qlistview.h> |
40 | 39 | ||
@@ -71,7 +70,7 @@ void AdvancedFm::showMenuHidden() | |||
71 | } | 70 | } |
72 | rePopulate(); | 71 | rePopulate(); |
73 | // if(b) qDebug("<<<<<<<<<<<<<<<<<<<<<<<<<<<< true"); | 72 | // if(b) qDebug("<<<<<<<<<<<<<<<<<<<<<<<<<<<< true"); |
74 | if(b) b = false; else b = true; | 73 | b = !b; |
75 | } | 74 | } |
76 | 75 | ||
77 | void AdvancedFm::showHidden() | 76 | void AdvancedFm::showHidden() |
@@ -520,9 +519,9 @@ void AdvancedFm::move() | |||
520 | } | 519 | } |
521 | 520 | ||
522 | } | 521 | } |
523 | setOtherTabCurrent(); | 522 | populateView(); |
524 | populateView(); | 523 | setOtherTabCurrent(); |
525 | // populateLocalView(); | 524 | populateView(); |
526 | } | 525 | } |
527 | 526 | ||
528 | bool AdvancedFm::copyFile( const QString & src, const QString & dest ) | 527 | bool AdvancedFm::copyFile( const QString & src, const QString & dest ) |