From f57b683f8f9909ba7787c33a4953869a2ce04a5c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 01:19:10 +0300 Subject: Convert DialogType enum into strong typed enum. --- src/gui/windows/okdialog.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui/windows/okdialog.cpp') diff --git a/src/gui/windows/okdialog.cpp b/src/gui/windows/okdialog.cpp index cdd73acc6..25a440b85 100644 --- a/src/gui/windows/okdialog.cpp +++ b/src/gui/windows/okdialog.cpp @@ -25,8 +25,6 @@ #include "soundconsts.h" #include "soundmanager.h" -#include "enums/gui/dialogtype.h" - #include "gui/widgets/button.h" #include "gui/widgets/textbox.h" @@ -37,7 +35,7 @@ OkDialog::OkDialog(const std::string &restrict title, const std::string &restrict msg, const std::string &restrict button, - const int soundEvent, + const DialogTypeT soundEvent, const Modal modal, const ShowCenter showCenter, Window *const parent, -- cgit v1.2.3-70-g09d2