summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/setup_input.cpp2
-rw-r--r--src/gui/widgets/tabs/setup_theme.cpp9
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp8
3 files changed, 10 insertions, 9 deletions
diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp
index 3328cdb28..4eb81bc4a 100644
--- a/src/gui/widgets/tabs/setup_input.cpp
+++ b/src/gui/widgets/tabs/setup_input.cpp
@@ -164,7 +164,7 @@ void Setup_Input::apply()
_("OK"),
DialogType::ERROR,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}
diff --git a/src/gui/widgets/tabs/setup_theme.cpp b/src/gui/widgets/tabs/setup_theme.cpp
index e795b0928..9efba0897 100644
--- a/src/gui/widgets/tabs/setup_theme.cpp
+++ b/src/gui/widgets/tabs/setup_theme.cpp
@@ -312,7 +312,7 @@ void Setup_Theme::action(const ActionEvent &event)
_("OK"),
DialogType::OK,
Modal_false,
- true,
+ ShowCenter_true,
nullptr,
600);
}
@@ -340,13 +340,14 @@ void Setup_Theme::apply()
if (config.getStringValue("theme") != mTheme)
{
// TRANSLATORS: theme message dialog
- new OkDialog(_("Theme Changed"), _("Restart your client for "
- "the change to take effect."),
+ new OkDialog(_("Theme Changed"),
+ // TRANSLATORS: ok dialog message
+ _("Restart your client for the change to take effect."),
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index 8c4be5f85..c2ee237e5 100644
--- a/src/gui/widgets/tabs/setup_video.cpp
+++ b/src/gui/widgets/tabs/setup_video.cpp
@@ -250,7 +250,7 @@ void Setup_Video::apply()
_("OK"),
DialogType::OK,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}
@@ -277,7 +277,7 @@ void Setup_Video::apply()
_("OK"),
DialogType::OK,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}
@@ -395,7 +395,7 @@ void Setup_Video::action(const ActionEvent &event)
_("OK"),
DialogType::OK,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}
@@ -410,7 +410,7 @@ void Setup_Video::action(const ActionEvent &event)
_("OK"),
DialogType::OK,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}