diff options
Diffstat (limited to 'src/gui/okdialog.cpp')
-rw-r--r-- | src/gui/okdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/okdialog.cpp b/src/gui/okdialog.cpp index 30a6281eb..4b816794e 100644 --- a/src/gui/okdialog.cpp +++ b/src/gui/okdialog.cpp @@ -36,8 +36,8 @@ #include "debug.h" OkDialog::OkDialog(const std::string &title, const std::string &msg, - int soundEvent, bool modal, bool showCenter, - Window *parent): + const int soundEvent, const bool modal, + const bool showCenter, Window *const parent): Window(title, modal, parent, "ok.xml") { mTextBox = new TextBox; @@ -45,7 +45,7 @@ OkDialog::OkDialog(const std::string &title, const std::string &msg, mTextBox->setOpaque(false); mTextBox->setTextWrapped(msg, 260); - gcn::Button *okButton = new Button(_("OK"), "ok", this); + gcn::Button *const okButton = new Button(_("OK"), "ok", this); const int numRows = mTextBox->getNumberOfRows(); const int fontHeight = getFont()->getHeight(); |