summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/models/colormodel.cpp1
-rw-r--r--src/gui/models/modelistmodel.cpp1
-rw-r--r--src/gui/models/namesmodel.cpp1
-rw-r--r--src/gui/models/shopitems.cpp1
-rw-r--r--src/gui/userpalette.cpp3
-rw-r--r--src/gui/viewport.cpp1
-rw-r--r--src/gui/widgets/guitable.cpp1
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.cpp3
-rw-r--r--src/gui/windowmenu.cpp1
-rw-r--r--src/gui/windows/helpwindow.cpp1
10 files changed, 12 insertions, 2 deletions
diff --git a/src/gui/models/colormodel.cpp b/src/gui/models/colormodel.cpp
index 39406e3ff..76a7da8fa 100644
--- a/src/gui/models/colormodel.cpp
+++ b/src/gui/models/colormodel.cpp
@@ -27,6 +27,7 @@
#include "debug.h"
ColorModel::ColorModel() :
+ ListModel(),
mNames(),
mColors()
{
diff --git a/src/gui/models/modelistmodel.cpp b/src/gui/models/modelistmodel.cpp
index d70be4b1f..60974bb7e 100644
--- a/src/gui/models/modelistmodel.cpp
+++ b/src/gui/models/modelistmodel.cpp
@@ -54,6 +54,7 @@ static bool modeSorter(const std::string &mode1, const std::string &mode2)
#endif // ANDROID
ModeListModel::ModeListModel() :
+ ListModel(),
mVideoModes()
{
SDL::getAllVideoModes(mVideoModes);
diff --git a/src/gui/models/namesmodel.cpp b/src/gui/models/namesmodel.cpp
index 6d831cab9..9c90ff4c0 100644
--- a/src/gui/models/namesmodel.cpp
+++ b/src/gui/models/namesmodel.cpp
@@ -25,6 +25,7 @@
#include "debug.h"
NamesModel::NamesModel() :
+ ListModel(),
mNames()
{
}
diff --git a/src/gui/models/shopitems.cpp b/src/gui/models/shopitems.cpp
index 402d2f641..061da5110 100644
--- a/src/gui/models/shopitems.cpp
+++ b/src/gui/models/shopitems.cpp
@@ -29,6 +29,7 @@
#include "debug.h"
ShopItems::ShopItems(const bool mergeDuplicates) :
+ ListModel(),
mAllShopItems(),
mShopItems(),
mMergeDuplicates(mergeDuplicates)
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index 0f09603a1..ce48fea70 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -124,7 +124,8 @@ std::string UserPalette::getConfigName(const std::string &typeName)
}
UserPalette::UserPalette() :
- Palette(CAST_S32(UserColorId::USER_COLOR_LAST))
+ Palette(CAST_S32(UserColorId::USER_COLOR_LAST)),
+ ListModel()
{
mColors[CAST_SIZE(UserColorId::BEING)] = ColorElem();
mColors[CAST_SIZE(UserColorId::PC)] = ColorElem();
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 317c3170d..db8af7ebe 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -66,6 +66,7 @@ extern MiniStatusWindow *miniStatusWindow;
Viewport::Viewport() :
WindowContainer(nullptr),
MouseListener(),
+ ConfigListener(),
mMouseX(0),
mMouseY(0),
mMap(nullptr),
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");
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 87df85ba1..d193ffaa0 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -47,6 +47,7 @@ WindowMenu *windowMenu = nullptr;
WindowMenu::WindowMenu(const Widget2 *const widget) :
Container(widget),
+ ConfigListener(),
ActionListener(),
SelectionListener(),
MouseListener(),
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp
index 78a7ee362..14be15074 100644
--- a/src/gui/windows/helpwindow.cpp
+++ b/src/gui/windows/helpwindow.cpp
@@ -52,6 +52,7 @@ HelpWindow *helpWindow = nullptr;
HelpWindow::HelpWindow() :
// TRANSLATORS: help window name
Window(_("Help"), Modal_false, nullptr, "help.xml"),
+ LinkHandler(),
ActionListener(),
// TRANSLATORS: help window. button.
mDYKButton(new Button(this, _("Did you know..."), "DYK", this)),