From 9bf73537758a630def27bd9310aa2f8714af784c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 May 2013 12:50:33 +0300 Subject: improve editdialog. --- src/gui/editdialog.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/editdialog.h') diff --git a/src/gui/editdialog.h b/src/gui/editdialog.h index b23f8feb5..00167bdac 100644 --- a/src/gui/editdialog.h +++ b/src/gui/editdialog.h @@ -48,8 +48,9 @@ class EditDialog final : public Window, public gcn::ActionListener * @see Window::Window */ EditDialog(const std::string &title, const std::string &msg, - std::string eventOk = ACTION_EDIT_OK, const int width = 300, - Window *const parent = nullptr, const bool modal = true); + const std::string &eventOk = ACTION_EDIT_OK, + const int width = 300, Window *const parent = nullptr, + const bool modal = true); A_DELETE_COPY(EditDialog) -- cgit v1.2.3-70-g09d2