mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-07-02 00:22:10 -05:00
Fix checkbox icon of groups in macro tree not being set on OBS 30.1.2
This change is necessary because of https://github.com/obsproject/obs-studio/pull/9584
This commit is contained in:
parent
e5ab2ceca3
commit
01437183ac
|
|
@ -173,6 +173,7 @@ void MacroTreeItem::Update(bool force)
|
|||
|
||||
} else if (_type == Type::Group) {
|
||||
_expand = new SourceTreeSubItemCheckBox();
|
||||
_expand->setProperty("sourceTreeSubItem", true);
|
||||
_expand->setSizePolicy(QSizePolicy::Maximum,
|
||||
QSizePolicy::Maximum);
|
||||
_expand->setMaximumSize(10, 16);
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ class QSpacerItem;
|
|||
class QHBoxLayout;
|
||||
|
||||
// Only used to enable applying "SourceTreeSubItemCheckBox" stylesheet
|
||||
// Can be removed once the minimum supported OBS version is greater than 30.1
|
||||
class SourceTreeSubItemCheckBox : public QCheckBox {
|
||||
Q_OBJECT
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user