summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_input.cpp3
-rw-r--r--src/gui/widgets/tabs/setup_theme.cpp3
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp3
3 files changed, 6 insertions, 3 deletions
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() ?