From c3c58bbb72c857e1ba5db52d43f624b6ba8c6300 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Sat, 15 Mar 2008 10:19:12 +0000 Subject: [PATCH] * make Qt 4.2 happy. Please complain if it is not. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23760 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); }