summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;