From e21479ccc48ed8383a6ab72f45c43e12e8dffa69 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Aug 2014 21:26:04 +0300 Subject: Remove default values from okdialog constructor. --- src/gui/widgets/tabs/setup_input.cpp | 3 ++- src/gui/widgets/tabs/setup_theme.cpp | 3 ++- src/gui/widgets/tabs/setup_video.cpp | 3 ++- 3 files changed, 6 insertions(+), 3 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 1aababa3f..50bdf96ec 100644 --- a/src/gui/widgets/tabs/setup_input.cpp +++ b/src/gui/widgets/tabs/setup_input.cpp @@ -150,7 +150,8 @@ 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())), DialogType::ERROR); + gettext(str1.c_str()), gettext(str2.c_str())), DialogType::ERROR, + true, true, nullptr, 260); } keyboard.setEnabled(true); inputManager.store(); diff --git a/src/gui/widgets/tabs/setup_theme.cpp b/src/gui/widgets/tabs/setup_theme.cpp index 5ef931249..b719537f7 100644 --- a/src/gui/widgets/tabs/setup_theme.cpp +++ b/src/gui/widgets/tabs/setup_theme.cpp @@ -334,7 +334,8 @@ void Setup_Theme::apply() { // TRANSLATORS: theme message dialog new OkDialog(_("Theme Changed"), _("Restart your client for " - "the change to take effect.")); + "the change to take effect."), DialogType::OK, + true, true, nullptr, 260); } config.setValue("selectedSkin", ""); diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp index fc0619c4f..116541d2d 100644 --- a/src/gui/widgets/tabs/setup_video.cpp +++ b/src/gui/widgets/tabs/setup_video.cpp @@ -262,7 +262,8 @@ void Setup_Video::apply() // TRANSLATORS: video settings warning new OkDialog(_("Changing to OpenGL"), // TRANSLATORS: video settings warning - _("Applying change to OpenGL requires restart.")); + _("Applying change to OpenGL requires restart."), + DialogType::OK, true, true, nullptr, 260); } mFps = mFpsCheckBox->isSelected() ? -- cgit v1.2.3-70-g09d2