From e6d251345a48108495d39d82b0ec79deac63d86d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 May 2015 18:40:31 +0300 Subject: Add strong typed bool type in OkDialog. --- src/gui/widgets/tabs/setup_theme.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets/tabs/setup_theme.cpp') 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); } -- cgit v1.2.3-60-g2f50