summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/characterdisplay.cpp2
-rw-r--r--src/gui/widgets/playerbox.h10
-rw-r--r--src/gui/windows/npcdialog.cpp2
3 files changed, 7 insertions, 7 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)
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index e3a8a0292..4279c57eb 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -147,7 +147,7 @@ NpcDialog::NpcDialog(const BeingId npcId) :
mActionState(NpcActionState::WAIT),
mSkinControls(),
mSkinName(),
- mPlayerBox(new PlayerBox(nullptr)),
+ mPlayerBox(new PlayerBox(nullptr, std::string(), std::string())),
mAvatarBeing(nullptr),
mDialogInfo(nullptr),
mLastNextTime(0),