summaryrefslogtreecommitdiff
path: root/src/gui/editdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editdialog.h')
-rw-r--r--src/gui/editdialog.h5
1 files changed, 3 insertions, 2 deletions
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)