on xenial help sign in
Fix scope tool
8f21a65Albert Astals
qml/ScopeTool.qml+1−11
@@ -45,16 +45,6 @@ Rectangle {
45 signal searchClicked
45 signal searchClicked
46 }
46 }
47
47
48− SortFilterProxyModel {
49− id: filteredScopes
50− model: Scopes {
51− id: scopes
52− }
53− dynamicSortFilter: true
54−
55− filterRole: Scopes.RoleVisible
56− filterRegExp: RegExp("^true$")
57− }
58
48
59 Rectangle {
49 Rectangle {
60 anchors.fill: dashContent
50 anchors.fill: dashContent
@@ -72,8 +62,8 @@ Rectangle {
72 DashContent {
62 DashContent {
73 id: dashContent
63 id: dashContent
74
64
75− model: filteredScopes
76 property var scope: scopes.getScope(currentIndex)
65 property var scope: scopes.getScope(currentIndex)
66+ scopes: Scopes { }
77
67
78 anchors {
68 anchors {
79 top: parent.top
69 top: parent.top