summaryrefslogtreecommitdiff
path: root/plugingui/scrollbar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/scrollbar.cc')
-rw-r--r--plugingui/scrollbar.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/scrollbar.cc b/plugingui/scrollbar.cc
index ac5be15..32db4a4 100644
--- a/plugingui/scrollbar.cc
+++ b/plugingui/scrollbar.cc
@@ -41,7 +41,7 @@ void ScrollBar::setRange(int r)
{
rangeValue = r;
setValue(value());
- repaintEvent(nullptr);
+ redraw();
}
int ScrollBar::range()
@@ -57,7 +57,7 @@ void ScrollBar::setMaximum(int m)
rangeValue = maxValue;
}
setValue(value());
- repaintEvent(nullptr);
+ redraw();
}
int ScrollBar::maximum()
@@ -91,7 +91,7 @@ void ScrollBar::setValue(int value)
valueChangeNotifier(value);
- repaintEvent(nullptr);
+ redraw();
}
int ScrollBar::value()