summaryrefslogtreecommitdiff
path: root/src/gui/editdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-07 12:50:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-07 12:50:33 +0300
commit9bf73537758a630def27bd9310aa2f8714af784c (patch)
tree923f5b50999660946504df9fdb97fcd0a3601481 /src/gui/editdialog.h
parentb56ffd9dfd7698770304d86cd5079552a547cfb8 (diff)
downloadManaVerse-9bf73537758a630def27bd9310aa2f8714af784c.tar.gz
ManaVerse-9bf73537758a630def27bd9310aa2f8714af784c.tar.bz2
ManaVerse-9bf73537758a630def27bd9310aa2f8714af784c.tar.xz
ManaVerse-9bf73537758a630def27bd9310aa2f8714af784c.zip
improve editdialog.
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)