From 745759e2a11395fd03b188d88db5b826a6ac91d2 Mon Sep 17 00:00:00 2001 From: Bernd Weimer Date: Mon, 13 Mar 2017 12:48:09 +0100 Subject: Replace reportingRange with count SystemMonitor reportingRange property has been deprecated. Change-Id: Ie50113ab60e9e8889c8a3db62434a9b992d6536e Reviewed-by: Robert Griebl Reviewed-by: Nedim Hadzic --- sysui/dev/SystemMonitor/MainScreen.qml | 2 +- sysui/dev/ToolBarMonitor.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysui/dev/SystemMonitor/MainScreen.qml b/sysui/dev/SystemMonitor/MainScreen.qml index b9bf6f5..21d728a 100644 --- a/sysui/dev/SystemMonitor/MainScreen.qml +++ b/sysui/dev/SystemMonitor/MainScreen.qml @@ -51,7 +51,7 @@ UIScreen { function checkReporting() { SystemMonitor.reportingInterval = root.timeInterval - SystemMonitor.reportingRange = 10 * 1000 + SystemMonitor.count = 50 } TabView { diff --git a/sysui/dev/ToolBarMonitor.qml b/sysui/dev/ToolBarMonitor.qml index efd9009..09408bf 100644 --- a/sysui/dev/ToolBarMonitor.qml +++ b/sysui/dev/ToolBarMonitor.qml @@ -54,7 +54,7 @@ Rectangle { function initialize() { SystemMonitor.reportingInterval = 200 - SystemMonitor.reportingRange = 2000 + SystemMonitor.count = 10 SystemMonitor.fpsReportingEnabled = root.visible SystemMonitor.cpuLoadReportingEnabled = root.visible SystemMonitor.memoryReportingEnabled = root.visible -- cgit v1.2.1