summaryrefslogtreecommitdiff
path: root/Main.qml
diff options
context:
space:
mode:
authorNikita Kostovsky <nikita@kostovsky.me>2025-11-12 15:06:42 +0100
committerNikita Kostovsky <nikita@kostovsky.me>2025-11-12 15:06:42 +0100
commit5e2c92325605919ad06ab634add74b7e58d21727 (patch)
tree27f69c0e33d135fb908c3cd6d6f8614dfa1da307 /Main.qml
parentc12766412cfbdbbe16b7d75ae2d82c1550a346ef (diff)
show valid image and profile counters
Diffstat (limited to 'Main.qml')
-rw-r--r--Main.qml9
1 files changed, 6 insertions, 3 deletions
diff --git a/Main.qml b/Main.qml
index 1faaaf0..665cd4f 100644
--- a/Main.qml
+++ b/Main.qml
@@ -25,7 +25,8 @@ ApplicationWindow {
// // qhttpserver
// readonly property string apiRoot: "http://rpi5:8081/v1"
- readonly property string apiRoot: "http://rpizero:8081/v1"
+ // readonly property string apiRoot: "http://rpizero:8081/v1"
+ readonly property string apiRoot: "http://radxa:8081/v1"
Shortcut {
sequence: "ctrl+q"
@@ -612,7 +613,8 @@ ApplicationWindow {
topMargin: 8 * 2
horizontalCenter: parent.horizontalCenter
}
- text: pixelsQmlCustomPlot.fps
+ // text: pixelsQmlCustomPlot.fps
+ text: typeof(pixelsPacketCounter) !== "undefined" ? pixelsPacketCounter : "N/A"
color: Material.accent
}
@@ -634,7 +636,8 @@ ApplicationWindow {
topMargin: 8 * 2
horizontalCenter: parent.horizontalCenter
}
- text: profileQmlCustomPlot.fps
+ // text: profileQmlCustomPlot.fps
+ text: typeof(profilePacketCounter) !== "undefined" ? profilePacketCounter : "N/A"
color: Material.accent
}