summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 19:52:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 19:52:20 +0300
commit66d3d5fca48269a778e81c3ed7747edc2e56c862 (patch)
tree2b8b1cce4881bc4ff90fb159f28e3f510657192d /src/gui/windows/skilldialog.cpp
parenta54ff6d4104a9b382c1419c00cc83684e391a445 (diff)
downloadmanaverse-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.gz
manaverse-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.bz2
manaverse-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.xz
manaverse-66d3d5fca48269a778e81c3ed7747edc2e56c862.zip
Remove default parameters from textdialog.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r--src/gui/windows/skilldialog.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index 9f11605ef..114937b0b 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -1136,7 +1136,9 @@ void SkillDialog::useSkillTarget(const SkillInfo *const info,
strprintf(_("Add text to skill %s"),
data->name.c_str()),
// TRANSLATORS: text skill dialog field
- _("Text: "));
+ _("Text: "),
+ nullptr,
+ false);
dialog->setModal(Modal_true);
textSkillListener.setDialog(dialog);
dialog->setActionEventId("ok");
@@ -1200,7 +1202,9 @@ void SkillDialog::useSkillPosition(const SkillInfo *const info,
strprintf(_("Add text to skill %s"),
data->name.c_str()),
// TRANSLATORS: text skill dialog field
- _("Text: "));
+ _("Text: "),
+ nullptr,
+ false);
dialog->setModal(Modal_true);
textSkillListener.setDialog(dialog);
dialog->setActionEventId("ok");
@@ -1319,7 +1323,9 @@ void SkillDialog::useSkillDefault(const SkillInfo *const info,
strprintf(_("Add text to skill %s"),
data->name.c_str()),
// TRANSLATORS: text skill dialog field
- _("Text: "));
+ _("Text: "),
+ nullptr,
+ false);
dialog->setModal(Modal_true);
textSkillListener.setDialog(dialog);
dialog->setActionEventId("ok");