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/okdialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/okdialog.cpp') diff --git a/src/gui/windows/okdialog.cpp b/src/gui/windows/okdialog.cpp index a1601dddb..1f77af3f9 100644 --- a/src/gui/windows/okdialog.cpp +++ b/src/gui/windows/okdialog.cpp @@ -37,8 +37,10 @@ OkDialog::OkDialog(const std::string &restrict title, const std::string &restrict msg, const std::string &restrict button, - const int soundEvent, const bool modal, - const bool showCenter, Window *const parent, + const int soundEvent, + const Modal modal, + const bool showCenter, + Window *const parent, const int minWidth) : Window(title, modal, parent, "ok.xml"), ActionListener(), -- cgit v1.2.3-70-g09d2