mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:47:45 +00:00
LibGUI+Userland: Port Labels to String
This commit is contained in:
parent
3d53dc8228
commit
91bafc2653
92 changed files with 240 additions and 242 deletions
|
@ -152,9 +152,9 @@ void CalculatorWidget::update_display()
|
|||
{
|
||||
m_entry->set_text(m_keypad.to_deprecated_string());
|
||||
if (m_calculator.has_error())
|
||||
m_label->set_text("E");
|
||||
m_label->set_text("E"_short_string);
|
||||
else
|
||||
m_label->set_text("");
|
||||
m_label->set_text({});
|
||||
}
|
||||
|
||||
void CalculatorWidget::keydown_event(GUI::KeyEvent& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue