diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
commit | 71fd4e8d3255e15c16a4f4b51c87222c661a5b33 (patch) | |
tree | 3942aec29f33b5ea2aa2e353451e10648f1bbb82 /src/gui/widgets/tabs/setup_theme.cpp | |
parent | 45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff) | |
download | manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2 manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip |
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/gui/widgets/tabs/setup_theme.cpp')
-rw-r--r-- | src/gui/widgets/tabs/setup_theme.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/setup_theme.cpp b/src/gui/widgets/tabs/setup_theme.cpp index de4990e5c..e795b0928 100644 --- a/src/gui/widgets/tabs/setup_theme.cpp +++ b/src/gui/widgets/tabs/setup_theme.cpp @@ -311,7 +311,10 @@ void Setup_Theme::action(const ActionEvent &event) // TRANSLATORS: ok dialog button _("OK"), DialogType::OK, - false, true, nullptr, 600); + Modal_false, + true, + nullptr, + 600); } } @@ -342,7 +345,10 @@ void Setup_Theme::apply() // TRANSLATORS: ok dialog button _("OK"), DialogType::OK, - true, true, nullptr, 260); + Modal_true, + true, + nullptr, + 260); } config.setValue("selectedSkin", ""); |