[qet] [4208] Minor

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4208
Author:   blacksun
Date:     2015-09-16 17:30:25 +0200 (Wed, 16 Sep 2015)
Log Message:
-----------
Minor

Modified Paths:
--------------
    trunk/sources/diagramview.cpp

Modified: trunk/sources/diagramview.cpp
===================================================================
--- trunk/sources/diagramview.cpp	2015-09-16 15:12:30 UTC (rev 4207)
+++ trunk/sources/diagramview.cpp	2015-09-16 15:30:25 UTC (rev 4208)
@@ -498,7 +498,7 @@
 	if (e->button() == Qt::MidButton)
 	{
 		rubber_band_origin = e->pos();
-		setCursor(Qt::ClosedHandCursor);
+		viewport()->setCursor(Qt::ClosedHandCursor);
 	}
 
 	else QGraphicsView::mousePressEvent(e);
@@ -550,7 +550,7 @@
 		}
 	}
 	//Stop drag view
-	if (e -> button() == Qt::MidButton) setCursor(Qt::ArrowCursor);
+	if (e -> button() == Qt::MidButton) viewport()->setCursor(Qt::ArrowCursor);
 
 	else QGraphicsView::mouseReleaseEvent(e);
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/