From 71fd4e8d3255e15c16a4f4b51c87222c661a5b33 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 May 2015 18:29:07 +0300 Subject: Add strong typed bool type for modal bool flag. --- src/gui/windows/charcreatedialog.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/charcreatedialog.cpp') diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index cb2caed4b..065e6db15 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -73,7 +73,7 @@ static const uint8_t directions[] = CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, const int slot) : // TRANSLATORS: char create dialog name - Window(_("New Character"), true, parent, "charcreate.xml"), + Window(_("New Character"), Modal_true, parent, "charcreate.xml"), ActionListener(), KeyListener(), mCharSelectDialog(parent), @@ -379,7 +379,10 @@ void CharCreateDialog::action(const ActionEvent &event) // TRANSLATORS: ok dialog button _("OK"), DialogType::ERROR, - true, this, nullptr, 260); + Modal_true, + this, + nullptr, + 260); } } else if (id == "cancel") -- cgit v1.2.3-60-g2f50