Qt: Connect QScrollbar::actionTriggered to OverlayScrollBar

This will fix the issue where auto scroll during capture is not turned
off when the scroll bar position is changed.


(cherry picked from commit a42ab09b72)
This commit is contained in:
Stig Bjørlykke 2021-01-02 16:36:50 +00:00
parent f95baf9c9c
commit 09d182d987
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ OverlayScrollBar::OverlayScrollBar(Qt::Orientation orientation, QWidget *parent)
connect(this, &OverlayScrollBar::valueChanged, &child_sb_, &QScrollBar::setValue);
connect(&child_sb_, &QScrollBar::valueChanged, this, &OverlayScrollBar::setValue);
connect(&child_sb_, &QScrollBar::actionTriggered, this, &OverlayScrollBar::actionTriggered);
}
OverlayScrollBar::~OverlayScrollBar()