Make EffectModel a toplevel element in EffectView
The id is referenced all over the document which makes it nicer to read if it is not a nested element.
This commit is contained in:
parent
5eb11849d4
commit
81510d7e47
1 changed files with 4 additions and 3 deletions
|
@ -24,6 +24,9 @@ import QtQuick.Layouts 1.0
|
|||
import org.kde.kwin.kwincompositing 1.0
|
||||
|
||||
Item {
|
||||
EffectModel {
|
||||
id: effectModel
|
||||
}
|
||||
|
||||
Component {
|
||||
id: sectionHeading
|
||||
|
@ -93,9 +96,7 @@ Item {
|
|||
EffectFilterModel {
|
||||
id:searchModel
|
||||
filter: searchField.text
|
||||
effectModel: EffectModel {
|
||||
id: effectModel
|
||||
}
|
||||
effectModel: effectModel
|
||||
}
|
||||
|
||||
ScrollView {
|
||||
|
|
Loading…
Reference in a new issue