UI/Qt: Avoid repaint loop in vertical tab bar
Move tab button geometry updates out of TabBar::paintEvent(). That path mutates child widgets, and Qt schedules more updates for those buttons. During painting, that can keep the tab bar dirty and churn CPU. Update buttons from layout, hover, and current-tab changes instead. Keep hover bookkeeping in one helper, and skip widget mutators when they are already in the desired state.
A
Andreas Kling committed
3ea52a844740295f980fcd784c77fb803f1f0726
Parent: 4cc0ee5
Committed by Andreas Kling <andreas@kling.id>
on 6/1/2026, 10:13:47 AM