Changeset View
Changeset View
Standalone View
Standalone View
applets/systemmonitor/memory/contents/ui/memory.qml
Context not available. | |||||
40 | autoRange: false | 40 | autoRange: false | ||
---|---|---|---|---|---|
41 | rangeMin: 0 | 41 | rangeMin: 0 | ||
42 | rangeMax: 0 | 42 | rangeMax: 0 | ||
43 | function formatLabel(data) { | 43 | function formatData(data) { | ||
44 | rangeMax = data.max; | 44 | rangeMax = data.max; | ||
45 | return KCoreAddons.Format.formatByteSize(data.value * 1024) | 45 | return KCoreAddons.Format.formatByteSize(data.value * 1024) | ||
46 | } | 46 | } | ||
47 | } | 47 | } | ||
48 | } | 48 | } | ||
49 | No newline at end of file | | |||
Context not available. |