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/widgets/tabs/setup_input.cpp | 2 +- src/gui/widgets/tabs/setup_theme.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/tabs') diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp index f2651e086..4fae66b47 100644 --- a/src/gui/widgets/tabs/setup_input.cpp +++ b/src/gui/widgets/tabs/setup_input.cpp @@ -150,7 +150,7 @@ void Setup_Input::apply() // TRANSLATORS: input settings error strprintf(_("Conflict \"%s\" and \"%s\" keys. " "Resolve them, or gameplay may result in strange behaviour."), - gettext(str1.c_str()), gettext(str2.c_str())), DIALOG_ERROR); + gettext(str1.c_str()), gettext(str2.c_str())), DialogType::ERROR); } keyboard.setEnabled(true); inputManager.store(); diff --git a/src/gui/widgets/tabs/setup_theme.cpp b/src/gui/widgets/tabs/setup_theme.cpp index 5cf4e905b..5ef931249 100644 --- a/src/gui/widgets/tabs/setup_theme.cpp +++ b/src/gui/widgets/tabs/setup_theme.cpp @@ -306,7 +306,7 @@ void Setup_Theme::action(const ActionEvent &event) else if (eventId == ACTION_INFO) { // TRANSLATORS: theme info dialog header - new OkDialog(_("Theme info"), mThemeInfo, DIALOG_OK, + new OkDialog(_("Theme info"), mThemeInfo, DialogType::OK, false, true, nullptr, 600); } } -- cgit v1.2.3-70-g09d2