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.cpp5
-rw-r--r--src/gui/widgets/tabs/setup_theme.cpp10
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp20
3 files changed, 28 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp
index 22dcc9e18..3328cdb28 100644
--- a/src/gui/widgets/tabs/setup_input.cpp
+++ b/src/gui/widgets/tabs/setup_input.cpp
@@ -163,7 +163,10 @@ void Setup_Input::apply()
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::ERROR,
- true, true, nullptr, 260);
+ Modal_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 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", "");
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index caf12e4cd..8c4be5f85 100644
--- a/src/gui/widgets/tabs/setup_video.cpp
+++ b/src/gui/widgets/tabs/setup_video.cpp
@@ -249,7 +249,10 @@ void Setup_Video::apply()
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
}
#endif
config.setValue("screen", fullscreen);
@@ -273,7 +276,10 @@ void Setup_Video::apply()
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
}
mFps = mFpsCheckBox->isSelected() ?
@@ -388,7 +394,10 @@ void Setup_Video::action(const ActionEvent &event)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
}
else
{
@@ -400,7 +409,10 @@ void Setup_Video::action(const ActionEvent &event)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
}
}
#else