Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 2fc4b49..ecf471d 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -99,17 +99,20 @@ void AdvancedFm::tabChanged(QWidget *) { | |||
99 | +checkDiskSpace( (const QString &) path )+ tr(" kB free") ); | 99 | +checkDiskSpace( (const QString &) path )+ tr(" kB free") ); |
100 | chdir( path.latin1()); | 100 | chdir( path.latin1()); |
101 | } | 101 | } |
102 | 102 | ||
103 | 103 | ||
104 | void AdvancedFm::populateView() { | 104 | void AdvancedFm::populateView() { |
105 | |||
106 | qWarning("PopulateView"); | ||
105 | QPixmap pm; | 107 | QPixmap pm; |
106 | QListView *thisView = CurrentView(); | 108 | QListView *thisView = CurrentView(); |
107 | QDir *thisDir = CurrentDir(); | 109 | QDir *thisDir = CurrentDir(); |
108 | QString path = thisDir->canonicalPath(); | 110 | QString path = thisDir->canonicalPath(); |
109 | // qWarning("path is "+path); | 111 | |
112 | qWarning("path is "+path); | ||
110 | thisView->clear(); | 113 | thisView->clear(); |
111 | thisDir->setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst); | 114 | thisDir->setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst); |
112 | thisDir->setMatchAllDirs(TRUE); | 115 | thisDir->setMatchAllDirs(TRUE); |
113 | thisDir->setNameFilter(filterStr); | 116 | thisDir->setNameFilter(filterStr); |
114 | QString fileL, fileS, fileDate; | 117 | QString fileL, fileS, fileDate; |
115 | QString fs= getFileSystemType((const QString &) path); | 118 | QString fs= getFileSystemType((const QString &) path); |
@@ -806,13 +809,13 @@ QListView * AdvancedFm::OtherView() { | |||
806 | return Remote_View; | 809 | return Remote_View; |
807 | else | 810 | else |
808 | return Local_View; | 811 | return Local_View; |
809 | } | 812 | } |
810 | 813 | ||
811 | void AdvancedFm::setOtherTabCurrent() { | 814 | void AdvancedFm::setOtherTabCurrent() { |
812 | // qWarning("setOtherTabCurrent()"); | 815 | qWarning("setOtherTabCurrent() %d", whichTab); |
813 | if ( whichTab == 1) { | 816 | if ( whichTab == 1) { |
814 | TabWidget->setCurrentWidget(1); | 817 | TabWidget->setCurrentWidget(1); |
815 | } else { | 818 | } else { |
816 | TabWidget->setCurrentWidget(0); | 819 | TabWidget->setCurrentWidget(0); |
817 | } | 820 | } |
818 | OtherView()->setFocus(); | 821 | OtherView()->setFocus(); |