diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:38:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:38:15 +0300 |
commit | 747dc30f256606e28fd932a9626da7c328114036 (patch) | |
tree | 1b3e7e70ba439d14d4936660d44c95c27816a11b /src/gui/chatwindow.cpp | |
parent | cef2952156ab09371ed04beec00d0f1e8615ada9 (diff) | |
download | mv-747dc30f256606e28fd932a9626da7c328114036.tar.gz mv-747dc30f256606e28fd932a9626da7c328114036.tar.bz2 mv-747dc30f256606e28fd932a9626da7c328114036.tar.xz mv-747dc30f256606e28fd932a9626da7c328114036.zip |
fix style in gui directory.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r-- | src/gui/chatwindow.cpp | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index c375b6748..2892bb842 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -182,16 +182,26 @@ ChatWindow::ChatWindow(): mItemLinkHandler(new ItemLinkHandler), mChatTabs(new TabbedArea(this)), mChatInput(new ChatInput(this, mChatTabs)), + mRainbowColor(0), mTmpVisible(false), + mWhispers(), + mHistory(), + mCurHist(), + mCommands(), + mCustomWords(), mReturnToggles(config.getBoolValue("ReturnToggles")), + mTradeFilter(), mColorListModel(new ColorListModel), mColorPicker(new DropDown(this, mColorListModel)), mChatColor(config.getIntValue("chatColor")), mChatHistoryIndex(0), + mAwayLog(), + mHighlights(), mGMLoaded(false), mHaveMouse(false), - mAutoHide(false), - mShowBattleEvents(false) + mAutoHide(config.getBoolValue("autohideChat")), + mShowBattleEvents(config.getBoolValue("showBattleEvents")), + mShowAllLang(serverConfig.getValue("showAllLang", 0)) { listen(CHANNEL_ATTRIBUTES); @@ -250,8 +260,6 @@ ChatWindow::ChatWindow(): // Add key listener to chat input to be able to respond to up/down mChatInput->addKeyListener(this); mCurHist = mHistory.end(); - - mRainbowColor = 0; mColorPicker->setVisible(config.getBoolValue("showChatColorsList")); fillCommands(); @@ -264,9 +272,6 @@ ChatWindow::ChatWindow(): config.addListener("autohideChat", this); config.addListener("showBattleEvents", this); - mAutoHide = config.getBoolValue("autohideChat"); - mShowBattleEvents = config.getBoolValue("showBattleEvents"); - mShowAllLang = serverConfig.getValue("showAllLang", 0); enableVisibleSound(true); } |