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:
parent
f46b393d2d
commit
a7c770268f
10 changed files with 35 additions and 34 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue