1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 05:48:12 +00:00

Ladybird: Pass QIcon by reference in tab_favicon_changed

This commit is contained in:
Cameron Youell 2023-05-29 19:05:40 +10:00 committed by Sam Atkins
parent 6e40e8316e
commit 0da5af0eff
2 changed files with 2 additions and 2 deletions

View file

@ -538,7 +538,7 @@ void BrowserWindow::tab_title_changed(int index, QString const& title)
setWindowTitle(QString("%1 - Ladybird").arg(title));
}
void BrowserWindow::tab_favicon_changed(int index, QIcon icon)
void BrowserWindow::tab_favicon_changed(int index, QIcon const& icon)
{
m_tabs_container->setTabIcon(index, icon);
}