summaryrefslogtreecommitdiff
blob: 9e6cc771a8084941a1cf6c5ab9c8b9832e468936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/krusader-1.90.0/krusader/Panel/krview.cpp	2006-03-23 21:59:47.000000000 +0100
+++ b/krusader-1.90.0/krusader/Panel/krview.cpp	2009-01-12 19:39:07.000000000 +0100
@@ -39,7 +39,7 @@
 #include <kmimetype.h>
 #include <klocale.h>
 #include <kinputdialog.h>
-
+#include <qpainter.h>
 
 #define VF	getVfile()
 
@@ -107,9 +107,9 @@
    }
    // if it's a symlink - add an arrow overlay
    if ( vf->vfile_isSymLink() ) {
-      QPixmap link( link_xpm );
-      bitBlt ( &icon, 0, icon.height() - 11, &link, 0, 21, 10, 11, Qt::CopyROP, false );
-      icon.setMask( icon.createHeuristicMask( false ) );
+	QPixmap link( link_xpm );
+	QPainter painter( &icon );
+	painter.drawPixmap( 0, icon.height() - 11, link, 0, 21, 10, 11 );
    }
 
    return icon;