diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-07 12:50:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-07 12:50:33 +0300 |
commit | 9bf73537758a630def27bd9310aa2f8714af784c (patch) | |
tree | 923f5b50999660946504df9fdb97fcd0a3601481 /src/gui | |
parent | b56ffd9dfd7698770304d86cd5079552a547cfb8 (diff) | |
download | plus-9bf73537758a630def27bd9310aa2f8714af784c.tar.gz plus-9bf73537758a630def27bd9310aa2f8714af784c.tar.bz2 plus-9bf73537758a630def27bd9310aa2f8714af784c.tar.xz plus-9bf73537758a630def27bd9310aa2f8714af784c.zip |
improve editdialog.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/editdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/editdialog.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/editdialog.cpp b/src/gui/editdialog.cpp index 91d74214d..0926e45b5 100644 --- a/src/gui/editdialog.cpp +++ b/src/gui/editdialog.cpp @@ -33,7 +33,7 @@ #include "debug.h" EditDialog::EditDialog(const std::string &title, const std::string &msg, - std::string eventOk, const int width, + const std::string &eventOk, const int width, Window *const parent, const bool modal): Window(title, modal, parent, "edit.xml"), gcn::ActionListener(), 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) |