diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-16 17:21:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-16 17:21:24 +0300 |
commit | 396b3e298b21677ebe3c6f5c2f5b837ac25625f2 (patch) | |
tree | 01cfca3609db046afebe5c9e11ba0a5a803e378f /src/gui/widgets | |
parent | e50013d92b22faeffb8711d07a8f344ab71e9e57 (diff) | |
download | mv-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.gz mv-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.bz2 mv-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.xz mv-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.zip |
Move dialog type into separate file.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/setup_input.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_theme.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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); } } |