[Kst] branches/work/kst/portto4/kst/src/libkstapp
Peter Kümmel
syntheticpp at gmx.net
Mon Aug 30 16:44:08 CEST 2010
SVN commit 1170012 by kuemmel:
Under Windows it now looks correct with msvc and Qt 4.7 beta
CCBUG:249253
M +3 -1 viewitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/viewitem.cpp #1170011:1170012
@@ -959,12 +959,14 @@
if (event->buttons() & Qt::LeftButton &&
(event->pos() - dragStartPosition).toPoint().manhattanLength() > QApplication::startDragDistance()) {
+ // UNDO tied zoom settings done in PlotItem::mousePressEvent
+ setTiedZoom(false, false);
+
QDrag *drag = new QDrag(event->widget());
MimeDataViewItem* mimeData = new MimeDataViewItem;
mimeData->item = this;
drag->setMimeData(mimeData);
-
Qt::DropActions dact = Qt::MoveAction;
Qt::DropAction dropAction = drag->exec(dact);
if (dropAction == Qt::MoveAction) {
More information about the Kst
mailing list