summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-30 16:06:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-30 16:59:12 +0300
commit60d90692e487948b77edcac63acbef34254cea5b (patch)
treec2ca72f720f835099bc65c2832d5c7df3d92abbd /src/gui/widgets/scrollarea.cpp
parent38fe5f43b5ac41e41debed4868e81b4b4bf839ac (diff)
downloadmanaplus-60d90692e487948b77edcac63acbef34254cea5b.tar.gz
manaplus-60d90692e487948b77edcac63acbef34254cea5b.tar.bz2
manaplus-60d90692e487948b77edcac63acbef34254cea5b.tar.xz
manaplus-60d90692e487948b77edcac63acbef34254cea5b.zip
remove duplicate variables.
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r--src/gui/widgets/scrollarea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index c21ddd17c..ec03e5cea 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -62,9 +62,9 @@ ScrollArea::ScrollArea(const bool opaque, const std::string &skin) :
mDrawWidth(0),
mDrawHeight(0),
mHasMouse(false),
- mOpaque(opaque),
mRedraw(true)
{
+ mOpaque = opaque;
addWidgetListener(this);
init(skin);
}
@@ -84,9 +84,9 @@ ScrollArea::ScrollArea(gcn::Widget *const widget, const bool opaque,
mDrawWidth(0),
mDrawHeight(0),
mHasMouse(false),
- mOpaque(opaque),
mRedraw(true)
{
+ mOpaque = opaque;
init(skin);
}