summaryrefslogtreecommitdiff
path: root/x11-fm/jafm/files/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/jafm/files/patch-ae')
-rw-r--r--x11-fm/jafm/files/patch-ae20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-fm/jafm/files/patch-ae b/x11-fm/jafm/files/patch-ae
new file mode 100644
index 000000000000..2693a1d83e4c
--- /dev/null
+++ b/x11-fm/jafm/files/patch-ae
@@ -0,0 +1,20 @@
+--- deskicon.cc.orig Sat Feb 26 19:45:43 2000
++++ deskicon.cc Sat Feb 26 19:46:48 2000
+@@ -90,7 +90,7 @@
+ ShapeSet) ;
+ // setGeometry (icon->rect()) ; // Qt doesn't know we used XShape!
+ // make room for label
+- QRect *r = &icon->get_label_rect () ;
++ QRect *r = (QRect *)&icon->get_label_rect () ;
+ QBitmap bm (r->width(), r->height()) ;
+ QPainter p (&bm) ;
+ p.fillRect (0,0,r->width(),r->height(), color1) ;
+@@ -177,7 +177,7 @@
+ {
+ // if WId is us, act accordingly
+ if (winId() == w) {
+- icon->drag_drop_action (diList) ;
++ icon->drag_drop_action ((QListT<DeskIcon> &)diList) ;
+ icon->set_drag_drop (false) ;
+ repaint () ;
+ }