diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-22 19:52:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-22 19:52:20 +0300 |
commit | 66d3d5fca48269a778e81c3ed7747edc2e56c862 (patch) | |
tree | 2b8b1cce4881bc4ff90fb159f28e3f510657192d /src/gui/popups/popupmenu.cpp | |
parent | a54ff6d4104a9b382c1419c00cc83684e391a445 (diff) | |
download | manaverse-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.gz manaverse-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.bz2 manaverse-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.xz manaverse-66d3d5fca48269a778e81c3ed7747edc2e56c862.zip |
Remove default parameters from textdialog.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 8 |
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); |