From 03313a6af4a381b8c2586ad26da288b17d13ae40 Mon Sep 17 00:00:00 2001 From: gxalpha Date: Fri, 10 May 2024 20:21:21 +0200 Subject: [PATCH] UI: Fix visibility and lock checkbox styling on system theme In 7931f2acb8688326375775dcef9c289f64951ac4 the classes have been removed in favor of properties, but this styling change appears to have been reverted by accident, likely by the theming overhaul. --- UI/data/themes/System.obt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/UI/data/themes/System.obt b/UI/data/themes/System.obt index 6e34569eb..eaa41bf78 100644 --- a/UI/data/themes/System.obt +++ b/UI/data/themes/System.obt @@ -213,31 +213,31 @@ OBSBasicSettings QListWidget::item { /* Locked CheckBox */ -LockedCheckBox { +QCheckBox[lockCheckBox=true] { outline: none; background: transparent; } -LockedCheckBox::indicator:checked { +QCheckBox[lockCheckBox=true]::indicator:checked { image: url(:res/images/locked.svg); } -LockedCheckBox::indicator:unchecked { +QCheckBox[lockCheckBox=true]::indicator:unchecked { image: url(:res/images/unlocked.svg); } /* Visibility CheckBox */ -VisibilityCheckBox { +QCheckBox[visibilityCheckBox=true] { outline: none; background: transparent; } -VisibilityCheckBox::indicator:checked { +QCheckBox[visibilityCheckBox=true]::indicator:checked { image: url(:res/images/visible.svg); } -VisibilityCheckBox::indicator:unchecked { +QCheckBox[visibilityCheckBox=true]::indicator:unchecked { image: url(:res/images/invisible.svg); }