diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 20:37:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 20:37:08 +0300 |
commit | 681547eff8134564281ff05032eb7d29f1e7f312 (patch) | |
tree | a6b41f0e5ac25b1c100c3e609ab34739248e544a /src/gui/windows | |
parent | 9bc0a2e01e60e3c57324c86fa76be3bfa88dca81 (diff) | |
download | mv-681547eff8134564281ff05032eb7d29f1e7f312.tar.gz mv-681547eff8134564281ff05032eb7d29f1e7f312.tar.bz2 mv-681547eff8134564281ff05032eb7d29f1e7f312.tar.xz mv-681547eff8134564281ff05032eb7d29f1e7f312.zip |
Remove default parameters from checkbox.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/logindialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/outfitwindow.cpp | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp index f43921328..076ce14df 100644 --- a/src/gui/windows/logindialog.cpp +++ b/src/gui/windows/logindialog.cpp @@ -74,7 +74,7 @@ LoginDialog::LoginDialog(LoginData &data, mPassField(new PasswordField(this, mLoginData->password)), // TRANSLATORS: login dialog label mKeepCheck(new CheckBox(this, _("Remember username"), - mLoginData->remember)), + mLoginData->remember, nullptr, std::string())), // TRANSLATORS: login dialog label mUpdateTypeLabel(new Label(this, _("Update:"))), mUpdateTypeModel(new UpdateTypeModel), 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()))), |