diff --git a/Ladybird/Qt/BrowserWindow.cpp b/Ladybird/Qt/BrowserWindow.cpp index 0b275d4be90..3e66e82b1b1 100644 --- a/Ladybird/Qt/BrowserWindow.cpp +++ b/Ladybird/Qt/BrowserWindow.cpp @@ -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); } diff --git a/Ladybird/Qt/BrowserWindow.h b/Ladybird/Qt/BrowserWindow.h index 5e526750553..981a64b231d 100644 --- a/Ladybird/Qt/BrowserWindow.h +++ b/Ladybird/Qt/BrowserWindow.h @@ -71,7 +71,7 @@ public: public slots: void tab_title_changed(int index, QString const&); - void tab_favicon_changed(int index, QIcon icon); + void tab_favicon_changed(int index, QIcon const& icon); Tab& new_tab(QString const&, Web::HTML::ActivateTab); void activate_tab(int index); void close_tab(int index);