@@ -26,13 +26,15 @@ GenericScopeView {
2626 id: scopeView
2727 objectName: "DashApps"
2828
29+ property var model: ApplicationManager
30+
2931 QtObject {
3032 id: countObject
31− property int count: scopeView.scope.searchQuery.length == 0 ? (ApplicationManager.count) : 0
33+ property int count: scopeView.scope.searchQuery.length == 0 ? scopeView.model.count : 0
3234 }
3335
3436 onScopeChanged: {
3537 scopeView.scope.categories.addSpecialCategory("running.apps.category", "Recent", "", "{ \"template\": { \"category-layout\": \"running-apps\" } }", countObject);
36− enableHeightBehaviorOnNextCreation = ApplicationManager.count === 0
38+ enableHeightBehaviorOnNextCreation = scopeView.model.count === 0
3739 }
3840}