Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index f1be471..0dc822d 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -45,3 +45,3 @@ AdvancedFm::AdvancedFm(QWidget *,const char*, WFlags ) renameBox = 0; - + whichTab = 1; unknownXpm = Resource::loadImage("UnknownDocument").smoothScale(AppLnk::smallIconSize(),AppLnk::smallIconSize() ); @@ -91,6 +91,2 @@ void AdvancedFm::tabChanged(QWidget *wd) { - QString fs= getFileSystemType( (const QString &) path); - - setCaption(tr("AdvancedFm :: ")+fs+" :: " - +checkDiskSpace( (const QString &) path )+ tr(" kB free") ); chdir( path.latin1()); @@ -112,2 +108,3 @@ void AdvancedFm::populateView() { QString fileL, fileS, fileDate; + QString fs= getFileSystemType((const QString &) path); @@ -116,2 +113,3 @@ void AdvancedFm::populateView() { bool isDir=FALSE; + const QFileInfoList *list = thisDir->entryInfoList( /*QDir::All*/ /*, QDir::SortByMask*/); @@ -325,3 +323,3 @@ QStringList AdvancedFm::getPath() { -void AdvancedFm::changeTo(const QString dir) { +void AdvancedFm::changeTo(const QString &dir) { chdir( dir.latin1()); |