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/widgets/chattab.cpp | |
parent | f60d54307c20d4150e630620dbe0be62b2a1b8a5 (diff) | |
download | mv-7898fc26ca13913637bd84008df016763358d082.tar.gz mv-7898fc26ca13913637bd84008df016763358d082.tar.bz2 mv-7898fc26ca13913637bd84008df016763358d082.tar.xz mv-7898fc26ca13913637bd84008df016763358d082.zip |
Simplify scrollarea opaque flag.
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r-- | src/gui/widgets/chattab.cpp | 3 |
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); |