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:
parent
d2ca7ca017
commit
da9c995a8c
7 changed files with 35 additions and 29 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue