summaryrefslogtreecommitdiff
path: root/src/gui/popups
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/popups
parenta54ff6d4104a9b382c1419c00cc83684e391a445 (diff)
downloadmv-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.gz
mv-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.bz2
mv-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.xz
mv-66d3d5fca48269a778e81c3ed7747edc2e56c862.zip
Remove default parameters from textdialog.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 752caff72..802586f4c 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1283,7 +1283,9 @@ void PopupMenu::handleLink(const std::string &link,
_("Rename map sign "),
// TRANSLATORS: label
// TRANSLATORS: number of chars in string should be near original
- _("Name: "));
+ _("Name: "),
+ nullptr,
+ false);
mRenameListener.setDialog(mDialog);
mDialog->setText(mMapItem->getComment());
mDialog->setActionEventId("ok");
@@ -1301,7 +1303,9 @@ void PopupMenu::handleLink(const std::string &link,
_("Player comment "),
// TRANSLATORS: label
// TRANSLATORS: number of chars in string should be near original
- _("Comment: "));
+ _("Comment: "),
+ nullptr,
+ false);
mPlayerListener.setDialog(dialog);
mPlayerListener.setNick(mName);
mPlayerListener.setType(mType);