Skip to content

Commit bd00f7d

Browse files
keithel-qtjohn-michaelburke
authored andcommitted
Reduce the update frequency of the log panel to 5hz (#734)
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.
1 parent b0a56a1 commit bd00f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/LogPanel.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Item {
262262
}
263263

264264
Timer {
265-
interval: Globals.currentRefreshRate
265+
interval: Utils.hzToMilliseconds(Globals.currentRefreshRate)
266266
running: parent.visible
267267
repeat: true
268268
onTriggered: {

0 commit comments

Comments
 (0)