author | llornkcor <llornkcor> | 2002-05-04 22:38:02 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-04 22:38:02 (UTC) |
commit | a59ee560e5a170d124838c4e2ce7e6af0102aa2e (patch) (unidiff) | |
tree | 144caabfb34b165a3d3208e47a8a81ce70fcd8af | |
parent | d510e5a69762c8452b9d7b3d8122bc9fa85ed8b3 (diff) | |
download | opie-a59ee560e5a170d124838c4e2ce7e6af0102aa2e.zip opie-a59ee560e5a170d124838c4e2ce7e6af0102aa2e.tar.gz opie-a59ee560e5a170d124838c4e2ce7e6af0102aa2e.tar.bz2 |
buf gix
-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index 0b88a35..7ca3fff 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp | |||
@@ -597,25 +597,25 @@ void OpieFtp::populateLocalView() | |||
597 | currentDir.setNameFilter(filterStr); | 597 | currentDir.setNameFilter(filterStr); |
598 | QString fileL, fileS, fileDate; | 598 | QString fileL, fileS, fileDate; |
599 | bool isDir=FALSE; | 599 | bool isDir=FALSE; |
600 | const QFileInfoList *list = currentDir.entryInfoList( /*QDir::All*/ /*, QDir::SortByMask*/); | 600 | const QFileInfoList *list = currentDir.entryInfoList( /*QDir::All*/ /*, QDir::SortByMask*/); |
601 | QFileInfoListIterator it(*list); | 601 | QFileInfoListIterator it(*list); |
602 | QFileInfo *fi; | 602 | QFileInfo *fi; |
603 | while ( (fi=it.current()) ) { | 603 | while ( (fi=it.current()) ) { |
604 | if (fi->isSymLink() ){ | 604 | if (fi->isSymLink() ){ |
605 | QString symLink=fi->readLink(); | 605 | QString symLink=fi->readLink(); |
606 | // qDebug("Symlink detected "+symLink); | 606 | // qDebug("Symlink detected "+symLink); |
607 | QFileInfo sym( symLink); | 607 | QFileInfo sym( symLink); |
608 | fileS.sprintf( "%10li", sym.size() ); | 608 | fileS.sprintf( "%10li", sym.size() ); |
609 | fileL.sprintf( "%s -> %s", sym.fileName().data(),sym.absFilePath().data() ); | 609 | fileL.sprintf( "%s -> %s", fi->fileName().data(),sym.absFilePath().data() ); |
610 | fileDate = sym.lastModified().toString(); | 610 | fileDate = sym.lastModified().toString(); |
611 | } else { | 611 | } else { |
612 | // qDebug("Not a dir: "+currentDir.canonicalPath()+fileL); | 612 | // qDebug("Not a dir: "+currentDir.canonicalPath()+fileL); |
613 | fileS.sprintf( "%10li", fi->size() ); | 613 | fileS.sprintf( "%10li", fi->size() ); |
614 | fileL.sprintf( "%s",fi->fileName().data() ); | 614 | fileL.sprintf( "%s",fi->fileName().data() ); |
615 | fileDate= fi->lastModified().toString(); | 615 | fileDate= fi->lastModified().toString(); |
616 | if( QDir(QDir::cleanDirPath(currentDir.canonicalPath()+"/"+fileL)).exists() ) { | 616 | if( QDir(QDir::cleanDirPath(currentDir.canonicalPath()+"/"+fileL)).exists() ) { |
617 | fileL+="/"; | 617 | fileL+="/"; |
618 | isDir=TRUE; | 618 | isDir=TRUE; |
619 | // qDebug( fileL); | 619 | // qDebug( fileL); |
620 | } | 620 | } |
621 | } | 621 | } |