SIGN IN SIGN UP

UI/Qt: Cache fallback tab icon

TabBar::paintEvent() drew a fresh globe icon for every tab without a
favicon. Creating a chrome icon renders several pixmaps for multiple
states and device pixel ratios, which is far too expensive for a paint
hot path.

Cache the fallback tab icon on TabBar and refresh it alongside the other
chrome icons when the palette changes.
A
Andreas Kling committed
044fc0c519b7bcd196218e78fbb2eccee2f41119
Parent: 9001bfe
Committed by Andreas Kling <andreas@kling.id> on 6/1/2026, 8:00:19 AM