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:
Martin Gräßlin 2013-08-27 12:15:37 +02:00
parent 5eb11849d4
commit 81510d7e47

View file

@ -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 {