mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 16:21:29 +00:00
Ladybird: Don't change window icons when background tabs change icons
This commit is contained in:
parent
5f3b82dcba
commit
acd70f44c2
Notes:
sideshowbarker
2024-07-17 17:40:13 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/acd70f44c2 Pull-request: https://github.com/SerenityOS/serenity/pull/16583 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/awesomekling ✅ Reviewed-by: https://github.com/linusg
|
@ -346,7 +346,8 @@ void BrowserWindow::tab_title_changed(int index, QString const& title)
|
|||
void BrowserWindow::tab_favicon_changed(int index, QIcon icon)
|
||||
{
|
||||
m_tabs_container->setTabIcon(index, icon);
|
||||
setWindowIcon(icon);
|
||||
if (m_tabs_container->currentIndex() == index)
|
||||
setWindowIcon(icon);
|
||||
}
|
||||
|
||||
void BrowserWindow::open_next_tab()
|
||||
|
|
Loading…
Reference in a new issue