frontend: Optimize audio mixer updates

This commit is contained in:
Warchamp7
2026-04-10 18:09:07 -04:00
committed by Ryan Foster
parent cf1c425a94
commit b34d17714e
5 changed files with 81 additions and 50 deletions
+1 -5
View File
@@ -48,11 +48,7 @@ public:
}
void repolish() { repolish(parent); }
static void repolish(QWidget *widget)
{
widget->style()->unpolish(widget);
widget->style()->polish(widget);
}
static void repolish(QWidget *widget) { widget->style()->polish(widget); }
// Adds a style class to the widget
void addClass(const QString &classname) { addClass(parent, classname); }