From 66d3d5fca48269a778e81c3ed7747edc2e56c862 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Dec 2017 19:52:20 +0300 Subject: Remove default parameters from textdialog. --- src/gui/popups/popupmenu.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/gui/popups') 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); -- cgit v1.2.3-70-g09d2