summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 23:11:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 23:11:52 +0300
commite452560778b5b5966986cbdf16983f7defa8f2ab (patch)
tree14c0e96920967d529fdef3b38aeda27fde417f3b
parentf5e9f2eddf051bf814c6cc59dd1ace32d0b97a76 (diff)
downloadmanaverse-e452560778b5b5966986cbdf16983f7defa8f2ab.tar.gz
manaverse-e452560778b5b5966986cbdf16983f7defa8f2ab.tar.bz2
manaverse-e452560778b5b5966986cbdf16983f7defa8f2ab.tar.xz
manaverse-e452560778b5b5966986cbdf16983f7defa8f2ab.zip
move bools in chattab.
-rw-r--r--src/gui/widgets/chattab.cpp4
-rw-r--r--src/gui/widgets/chattab.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index a596c5e7f..03d1aaf78 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -55,11 +55,11 @@ ChatTab::ChatTab(const Widget2 *const widget, const std::string &name,
Tab(widget),
mTextOutput(new BrowserBox(this, BrowserBox::AUTO_WRAP)),
mScrollArea(new ScrollArea(mTextOutput, false)),
+ mChannelName(channel),
mAllowHightlight(true),
mRemoveNames(false),
mNoAway(false),
- mShowOnline(false),
- mChannelName(channel)
+ mShowOnline(false)
{
setCaption(name);
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h
index f45f78668..488f9bb2f 100644
--- a/src/gui/widgets/chattab.h
+++ b/src/gui/widgets/chattab.h
@@ -199,11 +199,11 @@ class ChatTab : public Tab
BrowserBox *mTextOutput;
ScrollArea *mScrollArea;
+ std::string mChannelName;
bool mAllowHightlight;
bool mRemoveNames;
bool mNoAway;
bool mShowOnline;
- std::string mChannelName;
};
extern ChatTab *localChatTab;