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

Userland: Migrate to String in notification system

This commit is contained in:
kleines Filmröllchen 2023-08-31 18:50:32 +02:00 committed by Andrew Kaster
parent f46b393d2d
commit a7c770268f
10 changed files with 35 additions and 34 deletions

View file

@ -77,9 +77,9 @@ private:
if (!m_notifications)
return;
auto notification = GUI::Notification::construct();
notification->set_title("Network");
notification->set_title("Network"_string);
notification->set_icon(m_connected_icon);
notification->set_text("Network connected");
notification->set_text("Network connected"_string);
notification->show();
}
@ -88,9 +88,9 @@ private:
if (!m_notifications)
return;
auto notification = GUI::Notification::construct();
notification->set_title("Network");
notification->set_title("Network"_string);
notification->set_icon(m_disconnected_icon);
notification->set_text("Network disconnected");
notification->set_text("Network disconnected"_string);
notification->show();
}