[Marble-commits] KDE/kdeedu/marble/src/lib
Dennis Nienhüser
earthwings at gentoo.org
Sun Jan 31 10:34:07 CET 2010
SVN commit 1082699 by nienhueser:
Only start left mouse button timer when the left mouse button popup is enabled.
M +2 -1 MarbleWidgetInputHandler.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleWidgetInputHandler.cpp #1082698:1082699
@@ -461,7 +461,8 @@
if ( e->type() == QEvent::MouseButtonPress
&& event->button() == Qt::LeftButton ) {
- d->m_lmbTimer.start(400);
+ if (isMouseButtonPopupEnabled(Qt::LeftButton))
+ d->m_lmbTimer.start(400);
d->m_leftpressed = true;
d->m_midpressed = false;
More information about the Marble-commits
mailing list