mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
Ladybird: Pass QIcon by reference in tab_favicon_changed
This commit is contained in:
parent
6e40e8316e
commit
0da5af0eff
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue