From 396b3e298b21677ebe3c6f5c2f5b837ac25625f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 May 2014 17:21:24 +0300 Subject: Move dialog type into separate file. --- src/gui/windows/charselectdialog.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/charselectdialog.cpp') diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index 559b1f349..5c12c5441 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -242,7 +242,7 @@ void CharSelectDialog::action(const ActionEvent &event) character->data.mAttributes[Attributes::EXP]), Units::formatCurrency( character->data.mAttributes[Attributes::MONEY]).c_str()); - new OkDialog(data->getName(), msg, DIALOG_SILENCE); + new OkDialog(data->getName(), msg, DialogType::SILENCE); } } if (eventId == "switch") @@ -274,7 +274,8 @@ void CharSelectDialog::action(const ActionEvent &event) else { // TRANSLATORS: error message - new OkDialog(_("Error"), _("Incorrect password"), DIALOG_ERROR); + new OkDialog(_("Error"), _("Incorrect password"), + DialogType::ERROR); } mDeleteIndex = -1; } -- cgit v1.2.3-60-g2f50