summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/characterdisplay.cpp2
-rw-r--r--src/gui/widgets/playerbox.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/characterdisplay.cpp b/src/gui/widgets/characterdisplay.cpp
index 68082a687..32ffa8342 100644
--- a/src/gui/widgets/characterdisplay.cpp
+++ b/src/gui/widgets/characterdisplay.cpp
@@ -47,7 +47,7 @@ CharacterDisplay::CharacterDisplay(const Widget2 *const widget,
MouseListener(),
WidgetListener(),
mCharacter(nullptr),
- mPlayerBox(new PlayerBox(nullptr)),
+ mPlayerBox(new PlayerBox(nullptr, std::string(), std::string())),
mName(new Label(this, "wwwwwwwwwwwwwwwwwwwwwwww"))
{
mPlayerBox->setActionEventId("select");
diff --git a/src/gui/widgets/playerbox.h b/src/gui/widgets/playerbox.h
index b223f1dcb..55f5f11fc 100644
--- a/src/gui/widgets/playerbox.h
+++ b/src/gui/widgets/playerbox.h
@@ -49,12 +49,12 @@ class PlayerBox final : public Widget,
*/
PlayerBox(Widget2 *const widget,
Being *const being,
- const std::string &skin = "",
- const std::string &selectedSkin = "");
+ const std::string &skin,
+ const std::string &selectedSkin);
- explicit PlayerBox(Widget2 *const widget,
- const std::string &skin = "",
- const std::string &selectedSkin = "");
+ PlayerBox(Widget2 *const widget,
+ const std::string &skin,
+ const std::string &selectedSkin);
A_DELETE_COPY(PlayerBox)