summaryrefslogtreecommitdiff
path: root/src/gui/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-28 02:12:32 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-28 02:12:32 +0300
commit7898fc26ca13913637bd84008df016763358d082 (patch)
tree13ffeeab17bebd8e79391bfc75cc3cd38d068cdc /src/gui/statuswindow.cpp
parentf60d54307c20d4150e630620dbe0be62b2a1b8a5 (diff)
downloadmanaplus-7898fc26ca13913637bd84008df016763358d082.tar.gz
manaplus-7898fc26ca13913637bd84008df016763358d082.tar.bz2
manaplus-7898fc26ca13913637bd84008df016763358d082.tar.xz
manaplus-7898fc26ca13913637bd84008df016763358d082.zip
Simplify scrollarea opaque flag.
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r--src/gui/statuswindow.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 73d95c54b..d64aa3ebf 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -227,15 +227,13 @@ StatusWindow::StatusWindow():
// ----------------------
mAttrCont = new VertContainer(32);
- mAttrScroll = new ScrollArea(mAttrCont);
- mAttrScroll->setOpaque(false);
+ mAttrScroll = new ScrollArea(mAttrCont, false);
mAttrScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
mAttrScroll->setVerticalScrollPolicy(ScrollArea::SHOW_AUTO);
place(0, 3, mAttrScroll, 5, 3);
mDAttrCont = new VertContainer(32);
- mDAttrScroll = new ScrollArea(mDAttrCont);
- mDAttrScroll->setOpaque(false);
+ mDAttrScroll = new ScrollArea(mDAttrCont, false);
mDAttrScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
mDAttrScroll->setVerticalScrollPolicy(ScrollArea::SHOW_AUTO);
place(6, 3, mDAttrScroll, 5, 3);