summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.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/widgets/chattab.cpp
parentf60d54307c20d4150e630620dbe0be62b2a1b8a5 (diff)
downloadmanaverse-7898fc26ca13913637bd84008df016763358d082.tar.gz
manaverse-7898fc26ca13913637bd84008df016763358d082.tar.bz2
manaverse-7898fc26ca13913637bd84008df016763358d082.tar.xz
manaverse-7898fc26ca13913637bd84008df016763358d082.zip
Simplify scrollarea opaque flag.
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index f67b75107..1dd4e1fc8 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -55,7 +55,7 @@
ChatTab::ChatTab(const std::string &name) :
Tab(),
mTextOutput(new BrowserBox(BrowserBox::AUTO_WRAP)),
- mScrollArea(new ScrollArea(mTextOutput)),
+ mScrollArea(new ScrollArea(mTextOutput, false)),
mAllowHightlight(true),
mRemoveNames(false),
mNoAway(false)
@@ -71,7 +71,6 @@ ChatTab::ChatTab(const std::string &name) :
mScrollArea->setScrollPolicy(gcn::ScrollArea::SHOW_NEVER,
gcn::ScrollArea::SHOW_ALWAYS);
mScrollArea->setScrollAmount(0, 1);
- mScrollArea->setOpaque(false);
if (chatWindow)
chatWindow->addTab(this);