mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Replace SourceTreeSubItemCheckBox class with Qt property
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
ba4467199c
commit
60c77aa915
+2
-1
@@ -577,7 +577,8 @@ void SourceTreeItem::Update(bool force)
|
||||
boxLayout->insertItem(0, spacer);
|
||||
|
||||
} else if (type == Type::Group) {
|
||||
expand = new SourceTreeSubItemCheckBox();
|
||||
expand = new QCheckBox();
|
||||
expand->setProperty("sourceTreeSubItem", true);
|
||||
expand->setSizePolicy(QSizePolicy::Maximum,
|
||||
QSizePolicy::Maximum);
|
||||
expand->setMaximumSize(10, 16);
|
||||
|
||||
Reference in New Issue
Block a user