mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Ladybird: Pass QIcon by reference in tab_favicon_changed
This commit is contained in:
parent
6e40e8316e
commit
0da5af0eff
Notes:
sideshowbarker
2024-07-17 09:49:33 +09:00
Author: https://github.com/cammo1123 Commit: https://github.com/SerenityOS/serenity/commit/0da5af0eff Pull-request: https://github.com/SerenityOS/serenity/pull/19064 Reviewed-by: https://github.com/AtkinsSJ
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…
Reference in a new issue