From cbbf24801ada2e545327714146ce9e8eb9a58896 Mon Sep 17 00:00:00 2001 From: Keith Kyzivat Date: Tue, 13 Sep 2022 21:24:35 -0400 Subject: [PATCH] Reduce the update frequency of the log panel to 5hz The update frequency of the log panel was erroneously set to every 5ms (200hz). This was causing a lot of unnecessary processing that was discovered during QML profiling. This should help the app run significantly better on lower end hardware. --- resources/LogPanel.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/LogPanel.qml b/resources/LogPanel.qml index 94f2d6e52..41b6b6168 100644 --- a/resources/LogPanel.qml +++ b/resources/LogPanel.qml @@ -249,7 +249,7 @@ Item { } Timer { - interval: Globals.currentRefreshRate + interval: Utils.hzToMilliseconds(Globals.currentRefreshRate) running: parent.visible repeat: true onTriggered: {