mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 04:52:23 +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: 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
1 changed files with 2 additions and 1 deletions
|
@ -346,7 +346,8 @@ void BrowserWindow::tab_title_changed(int index, QString const& title)
|
||||||
void BrowserWindow::tab_favicon_changed(int index, QIcon icon)
|
void BrowserWindow::tab_favicon_changed(int index, QIcon icon)
|
||||||
{
|
{
|
||||||
m_tabs_container->setTabIcon(index, icon);
|
m_tabs_container->setTabIcon(index, icon);
|
||||||
setWindowIcon(icon);
|
if (m_tabs_container->currentIndex() == index)
|
||||||
|
setWindowIcon(icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BrowserWindow::open_next_tab()
|
void BrowserWindow::open_next_tab()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue