[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kst/portto4/kst/src/libkstapp
From:       Peter Kümmel <syntheticpp () gmx ! net>
Date:       2010-08-30 12:43:04
Message-ID: 20100830124304.93D24AC86C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1169972 by kuemmel:

also compile with Qt 4.5

 M  +1 -1      viewitem.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/viewitem.cpp #1169971:1169972
@@ -957,7 +957,7 @@
 void ViewItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event) {
 
   if (event->buttons() & Qt::LeftButton &&
-      (event->pos() - dragStartPosition).manhattanLength() > \
QApplication::startDragDistance()) { +      (event->pos() - \
dragStartPosition).toPoint().manhattanLength() > QApplication::startDragDistance()) { \
  QDrag *drag = new QDrag(event->widget());
     MimeDataViewItem* mimeData = new MimeDataViewItem;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic