@@ -26,13 +26,15 @@ GenericScopeView {
26 id: scopeView
26 id: scopeView
27 objectName: "DashApps"
27 objectName: "DashApps"
29+ property var model: ApplicationManager
29 QtObject {
31 QtObject {
30 id: countObject
32 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
34 onScopeChanged: {
36 onScopeChanged: {
35 scopeView.scope.categories.addSpecialCategory("running.apps.category", "Recent", "", "{ \"template\": { \"category-layout\": \"running-apps\" } }", countObject);
37 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