1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11-fm/jafm/files/patch-ae
2000-02-27 14:42:55 +00:00

21 lines
669 B
Plaintext

--- 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 () ;
}