summaryrefslogtreecommitdiff
path: root/src/gui/widgets/slider.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-06 11:31:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-06 11:31:24 +0300
commit20ad155838f202584cb261ff8a33fd458a04d83f (patch)
tree7744905ed6c10e1b46b1c59223637324ba0174be /src/gui/widgets/slider.cpp
parentcc6a796f11bdbce53b60c0992020c569f74dd9ce (diff)
downloadplus-20ad155838f202584cb261ff8a33fd458a04d83f.tar.gz
plus-20ad155838f202584cb261ff8a33fd458a04d83f.tar.bz2
plus-20ad155838f202584cb261ff8a33fd458a04d83f.tar.xz
plus-20ad155838f202584cb261ff8a33fd458a04d83f.zip
Move redraw flag from widgets into base widget.
Diffstat (limited to 'src/gui/widgets/slider.cpp')
-rw-r--r--src/gui/widgets/slider.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp
index 6119fc624..a08d94440 100644
--- a/src/gui/widgets/slider.cpp
+++ b/src/gui/widgets/slider.cpp
@@ -103,8 +103,7 @@ Slider::Slider(Widget2 *const widget,
mOrientation(HORIZONTAL),
mVertexes(new ImageCollection),
mMarkerLength(10),
- mHasMouse(false),
- mRedraw(true)
+ mHasMouse(false)
{
init();
}
@@ -123,8 +122,7 @@ Slider::Slider(Widget2 *const widget,
mOrientation(HORIZONTAL),
mVertexes(new ImageCollection),
mMarkerLength(10),
- mHasMouse(false),
- mRedraw(true)
+ mHasMouse(false)
{
init();
}