summaryrefslogtreecommitdiff
path: root/ui/qt/overlay_scroll_bar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/overlay_scroll_bar.cpp')
-rw-r--r--ui/qt/overlay_scroll_bar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/overlay_scroll_bar.cpp b/ui/qt/overlay_scroll_bar.cpp
index 766866c8a3..b7a589ccd4 100644
--- a/ui/qt/overlay_scroll_bar.cpp
+++ b/ui/qt/overlay_scroll_bar.cpp
@@ -73,7 +73,7 @@ OverlayScrollBar::OverlayScrollBar(Qt::Orientation orientation, QWidget *parent)
child_sb_.installEventFilter(this);
// XXX Do we need to connect anything else?
- connect(this, SIGNAL(rangeChanged(int,int)), &child_sb_, SLOT(setRange(int,int)));
+ connect(this, SIGNAL(rangeChanged(int,int)), this, SLOT(setChildRange(int,int)));
connect(this, SIGNAL(valueChanged(int)), &child_sb_, SLOT(setValue(int)));
connect(&child_sb_, SIGNAL(valueChanged(int)), this, SLOT(setValue(int)));