summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp2
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
@@ -601,17 +601,17 @@ void OpieFtp::populateLocalView()
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+="/";