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

IRCClient: Use new format functions.

This commit is contained in:
asynts 2020-10-06 14:16:35 +02:00 committed by Andreas Kling
parent d2ca7ca017
commit da9c995a8c
7 changed files with 35 additions and 29 deletions

View file

@ -71,7 +71,7 @@ IRCAppWindow::~IRCAppWindow()
void IRCAppWindow::update_title()
{
set_title(String::format("%s@%s:%d - IRC Client", m_client->nickname().characters(), m_client->hostname().characters(), m_client->port()));
set_title(String::formatted("{}@{}:{} - IRC Client", m_client->nickname(), m_client->hostname(), m_client->port()));
}
void IRCAppWindow::setup_client()