diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 3f6560cabc..16f2135a1f 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -1473,9 +1473,11 @@ void DragTabBar::mouseMoveEvent(QMouseEvent * event) QPixmap pixmap(r.size()); render(&pixmap, - r.topLeft()); drag->setPixmap(pixmap); + drag->exec(); +#else + drag->start(Qt::MoveAction); #endif - drag->exec(); }