summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chattab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-09 12:43:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-09 12:43:50 +0300
commitd189d362ba4b1b7c7963e925638eb5f12baba882 (patch)
tree140f7e1092a532bc89abace4d7fb659510055b29 /src/gui/widgets/tabs/chattab.cpp
parente153ea49f7442a82651e4e35f2be59c459ad32cb (diff)
downloadmanaverse-d189d362ba4b1b7c7963e925638eb5f12baba882.tar.gz
manaverse-d189d362ba4b1b7c7963e925638eb5f12baba882.tar.bz2
manaverse-d189d362ba4b1b7c7963e925638eb5f12baba882.tar.xz
manaverse-d189d362ba4b1b7c7963e925638eb5f12baba882.zip
allow set different skin for browserboxes.
Diffstat (limited to 'src/gui/widgets/tabs/chattab.cpp')
-rw-r--r--src/gui/widgets/tabs/chattab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/chattab.cpp b/src/gui/widgets/tabs/chattab.cpp
index 7ad6e303d..b4a8cb158 100644
--- a/src/gui/widgets/tabs/chattab.cpp
+++ b/src/gui/widgets/tabs/chattab.cpp
@@ -53,7 +53,8 @@ static const unsigned int MAX_WORD_SIZE = 50;
ChatTab::ChatTab(const Widget2 *const widget, const std::string &name,
const std::string &channel) :
Tab(widget),
- mTextOutput(new BrowserBox(this, BrowserBox::AUTO_WRAP, true)),
+ mTextOutput(new BrowserBox(this, BrowserBox::AUTO_WRAP, true,
+ "browserbox.xml")),
mScrollArea(new ScrollArea(mTextOutput, false)),
mChannelName(channel),
mAllowHightlight(true),