summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.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/scrollarea.cpp
parentcc6a796f11bdbce53b60c0992020c569f74dd9ce (diff)
downloadManaVerse-20ad155838f202584cb261ff8a33fd458a04d83f.tar.gz
ManaVerse-20ad155838f202584cb261ff8a33fd458a04d83f.tar.bz2
ManaVerse-20ad155838f202584cb261ff8a33fd458a04d83f.tar.xz
ManaVerse-20ad155838f202584cb261ff8a33fd458a04d83f.zip
Move redraw flag from widgets into base widget.
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r--src/gui/widgets/scrollarea.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index 95a9cd399..b748e30a1 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -131,8 +131,7 @@ ScrollArea::ScrollArea(Widget2 *const widget2,
mIsVerticalMarkerDragged(false),
mIsHorizontalMarkerDragged(false),
mOpaque(true),
- mHasMouse(false),
- mRedraw(true)
+ mHasMouse(false)
{
setContent(widget);
addMouseListener(this);