diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-28 02:12:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-28 02:12:32 +0300 |
commit | 7898fc26ca13913637bd84008df016763358d082 (patch) | |
tree | 13ffeeab17bebd8e79391bfc75cc3cd38d068cdc /src/gui/statuswindow.cpp | |
parent | f60d54307c20d4150e630620dbe0be62b2a1b8a5 (diff) | |
download | manaplus-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.cpp | 6 |
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); |