| 43 | d->_scrollAnimation->stop(); |
| 44 | d->_pixelRemainder = 0; |
| 45 | } |
| 46 | }); |
| 47 | connect(this, &QScrollBar::actionTriggered, this, [this, d](int action) { |
| 48 | if (d->_isSmoothScroll && action >= QAbstractSlider::SliderSingleStepAdd && action <= QAbstractSlider::SliderPageStepSub) |
| 49 | { |
| 50 | const int movement = sliderPosition() - value(); |
| 51 | setSliderPosition(value()); |
| 52 | d->_scroll(movement); |
nothing calls this directly
no test coverage detected