diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-27 01:27:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-27 01:27:11 +0300 |
commit | de476bb95242e10c833394ef007728072eabe60f (patch) | |
tree | 033747127a7ea4e36de42cfc99fcee56ce915bbb /src/gui/editdialog.cpp | |
parent | a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 (diff) | |
download | manaverse-de476bb95242e10c833394ef007728072eabe60f.tar.gz manaverse-de476bb95242e10c833394ef007728072eabe60f.tar.bz2 manaverse-de476bb95242e10c833394ef007728072eabe60f.tar.xz manaverse-de476bb95242e10c833394ef007728072eabe60f.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/editdialog.cpp')
-rw-r--r-- | src/gui/editdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editdialog.cpp b/src/gui/editdialog.cpp index 96e6d21b2..f4a71b47e 100644 --- a/src/gui/editdialog.cpp +++ b/src/gui/editdialog.cpp @@ -33,8 +33,8 @@ #include "debug.h" EditDialog::EditDialog(const std::string &title, const std::string &msg, - std::string eventOk, int width, - Window *parent, bool modal): + std::string eventOk, const int width, + Window *const parent, const bool modal): Window(title, modal, parent, "edit.xml") { mTextField = new TextField; @@ -42,7 +42,7 @@ EditDialog::EditDialog(const std::string &title, const std::string &msg, mEventOk = eventOk; - gcn::Button *okButton = new Button(_("OK"), mEventOk, this); + gcn::Button *const okButton = new Button(_("OK"), mEventOk, this); const int numRows = 1; const int fontHeight = getFont()->getHeight(); |