diff --git a/kcmkwin/kwincompositing/qml/EffectView.qml b/kcmkwin/kwincompositing/qml/EffectView.qml index 8dbc81850e..be4a73ec98 100644 --- a/kcmkwin/kwincompositing/qml/EffectView.qml +++ b/kcmkwin/kwincompositing/qml/EffectView.qml @@ -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 {