author | llornkcor <llornkcor> | 2002-05-04 22:38:02 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-04 22:38:02 (UTC) |
commit | a59ee560e5a170d124838c4e2ce7e6af0102aa2e (patch) (side-by-side diff) | |
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 @@ -593,33 +593,33 @@ void OpieFtp::populateLocalView() { Local_View->clear(); currentDir.setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst); currentDir.setMatchAllDirs(TRUE); currentDir.setNameFilter(filterStr); QString fileL, fileS, fileDate; bool isDir=FALSE; const QFileInfoList *list = currentDir.entryInfoList( /*QDir::All*/ /*, QDir::SortByMask*/); QFileInfoListIterator it(*list); QFileInfo *fi; while ( (fi=it.current()) ) { if (fi->isSymLink() ){ QString symLink=fi->readLink(); // qDebug("Symlink detected "+symLink); QFileInfo sym( symLink); fileS.sprintf( "%10li", sym.size() ); - fileL.sprintf( "%s -> %s", sym.fileName().data(),sym.absFilePath().data() ); + fileL.sprintf( "%s -> %s", fi->fileName().data(),sym.absFilePath().data() ); fileDate = sym.lastModified().toString(); } else { // qDebug("Not a dir: "+currentDir.canonicalPath()+fileL); fileS.sprintf( "%10li", fi->size() ); fileL.sprintf( "%s",fi->fileName().data() ); fileDate= fi->lastModified().toString(); if( QDir(QDir::cleanDirPath(currentDir.canonicalPath()+"/"+fileL)).exists() ) { fileL+="/"; isDir=TRUE; // qDebug( fileL); } } if(fileL !="./" && fi->exists()) { item= new QListViewItem( Local_View,fileL, fileDate, fileS ); QPixmap pm; |