diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 5c6dd6787b..3f6560cabc 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -1468,11 +1468,10 @@ void DragTabBar::mouseMoveEvent(QMouseEvent * event) drag->setMimeData(mimeData); #if QT_VERSION >= 0x040300 - // FIXME: gives garbage for tab != 0. // get tab pixmap as cursor QRect r = tabRect(tab); QPixmap pixmap(r.size()); - render(&pixmap, r.topLeft()); + render(&pixmap, - r.topLeft()); drag->setPixmap(pixmap); #endif