diff options
Diffstat (limited to 'Userland/Applications/PDFViewer/NumericInput.cpp')
-rw-r--r-- | Userland/Applications/PDFViewer/NumericInput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/PDFViewer/NumericInput.cpp b/Userland/Applications/PDFViewer/NumericInput.cpp index fcd5769e5c..b5290e36c3 100644 --- a/Userland/Applications/PDFViewer/NumericInput.cpp +++ b/Userland/Applications/PDFViewer/NumericInput.cpp @@ -70,7 +70,7 @@ void NumericInput::set_max_number(i32 number) void NumericInput::on_focus_lost() { if (m_needs_text_reset) { - set_text(String::number(m_current_number)); + set_text(DeprecatedString::number(m_current_number)); m_needs_text_reset = false; } if (on_number_changed) @@ -83,7 +83,7 @@ void NumericInput::set_current_number(i32 number, GUI::AllowCallback allow_callb return; m_current_number = clamp(number, m_min_number, m_max_number); - set_text(String::number(m_current_number)); + set_text(DeprecatedString::number(m_current_number)); if (on_number_changed && allow_callback == GUI::AllowCallback::Yes) on_number_changed(m_current_number); } |