~mterry/+junk/u8.2

« back to all changes in this revision

Viewing changes to qml/Panel/Indicators/VisibleIndicators.qml

  • Committer: Michael Terry
  • Date: 2014-11-17 14:56:04 UTC
  • mfrom: (1317.1.118 unity8)
  • Revision ID: michael.terry@canonical.com-20141117145604-96dn9p5nwkifq2f4
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    property SortFilterProxyModel model: filterModel
26
26
    property alias profile: indicatorsModel.profile
27
27
 
 
28
    function initialise(profile) {
 
29
        indicatorsModel.load(profile);
 
30
    }
 
31
 
28
32
    SortFilterProxyModel {
29
33
        id: filterModel
30
34
        filterRole: Indicators.IndicatorsModelRole.IsVisible
37
41
        }
38
42
    }
39
43
 
40
 
 
41
44
    Indicators.IndicatorsModel {
42
45
        id: indicatorsModel
43
46
    }
89
92
            }
90
93
        }
91
94
    }
92
 
 
93
 
    function load(profile) {
94
 
        indicatorsModel.load(profile);
95
 
    }
96
95
}