summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_relations.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/widgets/tabs/setup_relations.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/widgets/tabs/setup_relations.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_relations.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/setup_relations.cpp b/src/gui/widgets/tabs/setup_relations.cpp
index a5c556812..80e9526f0 100644
--- a/src/gui/widgets/tabs/setup_relations.cpp
+++ b/src/gui/widgets/tabs/setup_relations.cpp
@@ -71,10 +71,12 @@ Setup_Relations::Setup_Relations(const Widget2 *const widget) :
mPlayerTable, Opaque_true, std::string())),
// TRANSLATORS: relation dialog button
mDefaultTrading(new CheckBox(this, _("Allow trading"),
- (playerRelations.getDefault() & PlayerRelation::TRADE) != 0u)),
+ (playerRelations.getDefault() & PlayerRelation::TRADE) != 0u,
+ nullptr, std::string())),
// TRANSLATORS: relation dialog button
mDefaultWhisper(new CheckBox(this, _("Allow whispers"),
- (playerRelations.getDefault() & PlayerRelation::WHISPER) != 0u)),
+ (playerRelations.getDefault() & PlayerRelation::WHISPER) != 0u,
+ nullptr, std::string())),
// TRANSLATORS: relation dialog button
mDeleteButton(new Button(this, _("Delete"), ACTION_DELETE, this)),
mIgnoreActionChoicesModel(new IgnoreChoicesListModel),