summaryrefslogtreecommitdiff
path: root/Userland/Applications/MouseSettings/MouseWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/MouseSettings/MouseWidget.cpp')
-rw-r--r--Userland/Applications/MouseSettings/MouseWidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Applications/MouseSettings/MouseWidget.cpp b/Userland/Applications/MouseSettings/MouseWidget.cpp
index 32100a6b98..f8d5940d9e 100644
--- a/Userland/Applications/MouseSettings/MouseWidget.cpp
+++ b/Userland/Applications/MouseSettings/MouseWidget.cpp
@@ -92,19 +92,19 @@ void MouseWidget::reset_default_values()
void MouseWidget::update_speed_label()
{
- m_speed_label->set_text(DeprecatedString::formatted("{} %", m_speed_slider->value()));
+ m_speed_label->set_text(String::formatted("{} %", m_speed_slider->value()).release_value_but_fixme_should_propagate_errors());
}
void MouseWidget::update_double_click_speed_label()
{
- m_double_click_speed_label->set_text(DeprecatedString::formatted("{} ms", m_double_click_speed_slider->value()));
+ m_double_click_speed_label->set_text(String::formatted("{} ms", m_double_click_speed_slider->value()).release_value_but_fixme_should_propagate_errors());
}
void MouseWidget::update_switch_buttons_image_label()
{
if (m_switch_buttons_checkbox->is_checked()) {
- m_switch_buttons_image_label->set_icon_from_path("/res/graphics/mouse-button-right.png");
+ m_switch_buttons_image_label->set_icon_from_path("/res/graphics/mouse-button-right.png"sv);
} else {
- m_switch_buttons_image_label->set_icon_from_path("/res/graphics/mouse-button-left.png");
+ m_switch_buttons_image_label->set_icon_from_path("/res/graphics/mouse-button-left.png"sv);
}
}