1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:27:43 +00:00

Applications: Stop calling set_tooltip_deprecated when we do have String

This commit is contained in:
Karol Kosek 2023-09-10 21:02:52 +02:00 committed by Andreas Kling
parent 9c923f20f4
commit 46a97844c7
3 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ ProcessorParameterSlider::ProcessorParameterSlider(Orientation orientation, DSP:
set_value(value_log);
set_step((min_log - max_log) / slider_steps);
}
set_tooltip_deprecated(m_parameter.name().to_deprecated_string());
set_tooltip(m_parameter.name());
if (m_value_label != nullptr)
m_value_label->set_text(String::formatted("{:.2f}", static_cast<double>(m_parameter)).release_value_but_fixme_should_propagate_errors());