-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 2 |
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; |