summaryrefslogtreecommitdiff
path: root/noncore/apps
authorllornkcor <llornkcor>2002-04-19 23:58:35 (UTC)
committer llornkcor <llornkcor>2002-04-19 23:58:35 (UTC)
commit10c881d21c166bd7d06e96187cabf6cfe44ccdb3 (patch) (unidiff)
treeb27032c8cf19943bdfe2f0def53fab961eeaf62d /noncore/apps
parent221f2cbeaec8f28d39a5f95655f109a4b0fd33fc (diff)
downloadopie-10c881d21c166bd7d06e96187cabf6cfe44ccdb3.zip
opie-10c881d21c166bd7d06e96187cabf6cfe44ccdb3.tar.gz
opie-10c881d21c166bd7d06e96187cabf6cfe44ccdb3.tar.bz2
frak! fixed symlink icon new location
Diffstat (limited to 'noncore/apps') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 2126745..fed15b4 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -422,25 +422,25 @@ void AdvancedFm::populateRemoteView()
422 pm = Resource::loadPixmap( "locked" ); 422 pm = Resource::loadPixmap( "locked" );
423 else { 423 else {
424 MimeType mt(fi->filePath()); 424 MimeType mt(fi->filePath());
425 pm=mt.pixmap(); //sets the correct pixmap for mimetype 425 pm=mt.pixmap(); //sets the correct pixmap for mimetype
426 if(pm.isNull()) 426 if(pm.isNull())
427 pm = Resource::loadPixmap( "UnknownDocument-14" ); 427 pm = Resource::loadPixmap( "UnknownDocument-14" );
428 item->setPixmap( 0,pm); 428 item->setPixmap( 0,pm);
429 } 429 }
430 } 430 }
431 if( fileL.find("->",0,TRUE) != -1) { 431 if( fileL.find("->",0,TRUE) != -1) {
432 // overlay link image 432 // overlay link image
433 pm= Resource::loadPixmap( "folder" ); 433 pm= Resource::loadPixmap( "folder" );
434 QPixmap lnk = Resource::loadPixmap( "symlink" ); 434 QPixmap lnk = Resource::loadPixmap( "opie/symlink" );
435 QPainter painter( &pm ); 435 QPainter painter( &pm );
436 painter.drawPixmap( pm.width()-lnk.width(), pm.height()-lnk.height(), lnk ); 436 painter.drawPixmap( pm.width()-lnk.width(), pm.height()-lnk.height(), lnk );
437 pm.setMask( pm.createHeuristicMask( FALSE ) ); 437 pm.setMask( pm.createHeuristicMask( FALSE ) );
438 item->setPixmap( 0, pm); 438 item->setPixmap( 0, pm);
439 } 439 }
440 } isDir=FALSE; 440 } isDir=FALSE;
441 ++it; 441 ++it;
442 } 442 }
443 443
444 if(currentRemoteDir.canonicalPath().find("dev",0,TRUE) != -1) { 444 if(currentRemoteDir.canonicalPath().find("dev",0,TRUE) != -1) {
445 struct stat buf; 445 struct stat buf;
446 struct stat st; 446 struct stat st;