[Marble-commits] KDE/kdeedu/marble/src/lib

Dennis Nienhüser earthwings at gentoo.org
Wed Jun 2 22:18:16 CEST 2010


SVN commit 1133908 by nienhueser:

Fix minor logic error introduced in rev. 1132367.

 M  +1 -1      MarbleWidgetInputHandler.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/MarbleWidgetInputHandler.cpp #1133907:1133908
@@ -587,7 +587,7 @@
                 int deltay = event->y() - d->m_leftpressedy;
 
                 if ( abs( deltax ) > d->m_dragThreshold
-                     && abs( deltay ) > d->m_dragThreshold ) {
+                     || abs( deltay ) > d->m_dragThreshold ) {
 
                     qreal direction = 1;
                     // Choose spin direction by taking into account whether we


More information about the Marble-commits mailing list