[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/knewsticker
From: Frerich Raabe <raabe () kde ! org>
Date: 2003-09-02 11:22:21
[Download RAW message or body]
CVS commit by raabe:
- Only slow the scrolling down if we asked for it (what on earth made me
removee these if's in the last commit?)
M +4 -2 newsscroller.cpp 1.95
--- kdenetwork/knewsticker/newsscroller.cpp #1.94:1.95
@@ -261,4 +261,5 @@ void NewsScroller::scroll(int distance,
void NewsScroller::enterEvent(QEvent *)
{
+ if (m_cfg->slowedScrolling())
m_scrollTimer->changeInterval(speedAsInterval(m_cfg->scrollingSpeed() / 2));
}
@@ -351,4 +352,5 @@ void NewsScroller::wheelEvent(QWheelEven
void NewsScroller::leaveEvent(QEvent *)
{
+ if (m_cfg->slowedScrolling())
m_scrollTimer->changeInterval(speedAsInterval(m_cfg->scrollingSpeed()));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic