summaryrefslogtreecommitdiff
path: root/src/gui/windows/outfitwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 20:37:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 20:37:08 +0300
commit681547eff8134564281ff05032eb7d29f1e7f312 (patch)
treea6b41f0e5ac25b1c100c3e609ab34739248e544a /src/gui/windows/outfitwindow.cpp
parent9bc0a2e01e60e3c57324c86fa76be3bfa88dca81 (diff)
downloadmanaverse-681547eff8134564281ff05032eb7d29f1e7f312.tar.gz
manaverse-681547eff8134564281ff05032eb7d29f1e7f312.tar.bz2
manaverse-681547eff8134564281ff05032eb7d29f1e7f312.tar.xz
manaverse-681547eff8134564281ff05032eb7d29f1e7f312.zip
Remove default parameters from checkbox.
Diffstat (limited to 'src/gui/windows/outfitwindow.cpp')
-rw-r--r--src/gui/windows/outfitwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/outfitwindow.cpp b/src/gui/windows/outfitwindow.cpp
index 60d00747e..17be8f600 100644
--- a/src/gui/windows/outfitwindow.cpp
+++ b/src/gui/windows/outfitwindow.cpp
@@ -70,10 +70,12 @@ OutfitWindow::OutfitWindow() :
mCurrentLabel(new Label(this, strprintf(_("Outfit: %d"), 1))),
// TRANSLATORS: outfits window checkbox
mUnequipCheck(new CheckBox(this, _("Unequip first"),
- serverConfig.getValueBool("OutfitUnequip0", true))),
+ serverConfig.getValueBool("OutfitUnequip0", true),
+ nullptr, std::string())),
// TRANSLATORS: outfits window checkbox
mAwayOutfitCheck(new CheckBox(this, _("Away outfit"),
- serverConfig.getValue("OutfitAwayIndex", OUTFITS_COUNT - 1) != 0u)),
+ serverConfig.getValue("OutfitAwayIndex", OUTFITS_COUNT - 1) != 0u,
+ nullptr, std::string())),
// TRANSLATORS: outfits window label
mKeyLabel(new Label(this, strprintf(_("Key: %s"),
keyName(0).c_str()))),