diff options
Diffstat (limited to 'src/kitemviews')
| -rw-r--r-- | src/kitemviews/private/kitemlistsmoothscroller.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kitemviews/private/kitemlistsmoothscroller.cpp b/src/kitemviews/private/kitemlistsmoothscroller.cpp index b7d0a8cd4..915b6b3d5 100644 --- a/src/kitemviews/private/kitemlistsmoothscroller.cpp +++ b/src/kitemviews/private/kitemlistsmoothscroller.cpp @@ -214,6 +214,7 @@ void KItemListSmoothScroller::handleWheelEvent(QWheelEvent *event) QWheelEvent *copy = event->clone(); QApplication::sendEvent(m_scrollBar, copy); event->setAccepted(copy->isAccepted()); + delete copy; m_smoothScrolling = previous; } |
