diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
commit | 71fd4e8d3255e15c16a4f4b51c87222c661a5b33 (patch) | |
tree | 3942aec29f33b5ea2aa2e353451e10648f1bbb82 /src/gui/windows/confirmdialog.cpp | |
parent | 45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff) | |
download | manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2 manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip |
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/gui/windows/confirmdialog.cpp')
-rw-r--r-- | src/gui/windows/confirmdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/confirmdialog.cpp b/src/gui/windows/confirmdialog.cpp index 5cce160c7..83a5a669c 100644 --- a/src/gui/windows/confirmdialog.cpp +++ b/src/gui/windows/confirmdialog.cpp @@ -37,7 +37,8 @@ ConfirmDialog::ConfirmDialog(const std::string &restrict title, const std::string &restrict msg, const std::string &restrict soundEvent, const bool ignore, - const bool modal, Window *const parent) : + const Modal modal, + Window *const parent) : Window(title, modal, parent, "confirm.xml"), ActionListener(), mTextBox(new TextBox(this)), |