summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-23 23:55:30 (UTC)
committer llornkcor <llornkcor>2002-04-23 23:55:30 (UTC)
commit23f73a3a483a4daf3a26d0e83fd947d4f4118013 (patch) (unidiff)
tree863595f54ae6ac8a9865da9912dfeec7cda561ca
parentf90935204b16126b40d4c562b26e37148ca03536 (diff)
downloadopie-23f73a3a483a4daf3a26d0e83fd947d4f4118013.zip
opie-23f73a3a483a4daf3a26d0e83fd947d4f4118013.tar.gz
opie-23f73a3a483a4daf3a26d0e83fd947d4f4118013.tar.bz2
symlink icon fix
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 d78b7d1..6684abb 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -633,25 +633,25 @@ void OpieFtp::populateLocalView()
633 pm = Resource::loadPixmap( "locked" ); 633 pm = Resource::loadPixmap( "locked" );
634 else { 634 else {
635 MimeType mt(fi->filePath()); 635 MimeType mt(fi->filePath());
636 pm=mt.pixmap(); //sets the correct pixmap for mimetype 636 pm=mt.pixmap(); //sets the correct pixmap for mimetype
637 if(pm.isNull()) 637 if(pm.isNull())
638 pm = Resource::loadPixmap( "UnknownDocument-14" ); 638 pm = Resource::loadPixmap( "UnknownDocument-14" );
639 item->setPixmap( 0,pm); 639 item->setPixmap( 0,pm);
640 } 640 }
641 } 641 }
642 if( fileL.find("->",0,TRUE) != -1) { 642 if( fileL.find("->",0,TRUE) != -1) {
643 // overlay link image 643 // overlay link image
644 pm= Resource::loadPixmap( "folder" ); 644 pm= Resource::loadPixmap( "folder" );
645 QPixmap lnk = Resource::loadPixmap( "symlink" ); 645 QPixmap lnk = Resource::loadPixmap( "opie/symlink" );
646 QPainter painter( &pm ); 646 QPainter painter( &pm );
647 painter.drawPixmap( pm.width()-lnk.width(), pm.height()-lnk.height(), lnk ); 647 painter.drawPixmap( pm.width()-lnk.width(), pm.height()-lnk.height(), lnk );
648 pm.setMask( pm.createHeuristicMask( FALSE ) ); 648 pm.setMask( pm.createHeuristicMask( FALSE ) );
649 item->setPixmap( 0, pm); 649 item->setPixmap( 0, pm);
650 } 650 }
651 } 651 }
652 isDir=FALSE; 652 isDir=FALSE;
653 ++it; 653 ++it;
654 } 654 }
655 Local_View->setSorting( 3,FALSE); 655 Local_View->setSorting( 3,FALSE);
656 currentPathCombo->lineEdit()->setText( currentDir.canonicalPath() ); 656 currentPathCombo->lineEdit()->setText( currentDir.canonicalPath() );
657 fillCombo( (const QString &)currentDir); 657 fillCombo( (const QString &)currentDir);