Skip to content
  • Frank Reininghaus's avatar
    Do not try to smooth-scroll past the end of the view · 0ad86983
    Frank Reininghaus authored
    KItemListSmoothScroller::scrollTo(qreal position) did not check if
    'position' is a valid value. Even if the view is scrolled to the bottom
    already, it tried to scroll further and activated "smooth scrolling"
    when the mouse wheel is used. Because it never got out of the "smooth
    scrolling" state then, it got confused when changing the directory, and
    restoring the correct scroll offset could fail.
    
    BUG: 322212
    FIXED-IN: 4.11.0
    REVIEW: 111557
    0ad86983