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

List:       kde-commits
Subject:    KDE/kdelibs/kate/view
From:       Pascal Létourneau <pascal.letourneau () gmail ! com>
Date:       2010-10-21 3:05:33
Message-ID: 20101021030533.5C579AC897 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1188021 by pletourn:

Let QScrollBar take care of the wheel event

BUG:239070


 M  +1 -1      kateviewinternal.cpp  


--- trunk/KDE/kdelibs/kate/view/kateviewinternal.cpp #1188020:1188021
@@ -3173,7 +3173,7 @@
       else
         scrollNextPage();
     } else {
-      scrollViewLines(-((e->delta() / 120) * QApplication::wheelScrollLines()));
+      QApplication::sendEvent(m_lineScroll, e);
     }
 
   } else if (columnScrollingPossible()) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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