summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-20 21:08:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-20 21:08:24 +0300
commit1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc (patch)
tree34d522b5c40079d82bb63b279e9c7e6cccb740c5 /src/gui/widgets
parent9e2074d093ecdf9afc95a2fefc24b38307da627d (diff)
downloadmanaplus-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.tar.gz
manaplus-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.tar.bz2
manaplus-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.tar.xz
manaplus-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/guitable.cpp1
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index d362f0bd5..3c22dd4b1 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -45,6 +45,7 @@ GuiTable::GuiTable(const Widget2 *const widget,
Widget(widget),
MouseListener(),
KeyListener(),
+ TableModelListener(),
mModel(nullptr),
mTopWidget(nullptr),
mActionListeners2(),
diff --git a/src/gui/widgets/tabs/chat/emulateguildtab.cpp b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
index 2f24a8092..e6ca1c498 100644
--- a/src/gui/widgets/tabs/chat/emulateguildtab.cpp
+++ b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
@@ -37,7 +37,8 @@
EmulateGuildTab::EmulateGuildTab(const Widget2 *const widget) :
// TRANSLATORS: guild chat tab name
- ChatTab(widget, _("Guild"), "", "#Guild", ChatTabType::GUILD)
+ ChatTab(widget, _("Guild"), "", "#Guild", ChatTabType::GUILD),
+ ConfigListener()
{
setTabColors(ThemeColorId::GUILD_CHAT_TAB);
mShowOnline = config.getBoolValue("showGuildOnline");