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

List:       kde-commits
Subject:    KDE/kdelibs/plasma/private
From:       Marco Martin <notmart () gmail ! com>
Date:       2010-05-20 18:47:07
Message-ID: 20100520184707.AB5E7AC8BB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1128948 by mart:

use KGlobalSettings::dndEventDelay()


 M  +2 -1      animablegraphicswebview.cpp  


--- trunk/KDE/kdelibs/plasma/private/animablegraphicswebview.cpp #1128947:1128948
@@ -25,6 +25,7 @@
 #include <QPinchGesture>
 #include <QtWebKit/QWebFrame>
 
+#include <kglobalsettings.h>
 #include <kwebpage.h>
 
 using namespace Plasma;
@@ -142,7 +143,7 @@
     QMouseEvent me(QEvent::MouseButtonRelease, event->pos().toPoint(),
             event->button(),event->buttons(), event->modifiers());
 
-    if (!m_dragToScroll || (scrollPosition() - \
m_lastScrollPosition).manhattanLength() < QApplication::startDragDistance()) { +    \
if (!m_dragToScroll || (scrollPosition() - m_lastScrollPosition).manhattanLength() < \
KGlobalSettings::dndEventDelay()) {  page()->event(&me);
     }
 


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

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