summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/ftnoir_tracker_hat_dialog.cpp
diff options
context:
space:
mode:
authorRies van Twisk <github@rvt.dds.nl>2019-12-29 10:18:52 +0100
committerRies van Twisk <github@rvt.dds.nl>2019-12-29 10:18:52 +0100
commit21f8efcd03c2351135481f345a14245d422f63b4 (patch)
treed5b10ef462c6a778d40252bc26a13444009e698c /tracker-hatire/ftnoir_tracker_hat_dialog.cpp
parent28c06bef4392108fc219c0accefe5a7db7c9f065 (diff)
parentc537acf6d7ebff26db9d5981d33d05fe7101baf6 (diff)
Merge branch 'unstable' of https://github.com/opentrack/opentrack into osx-build-fix
Diffstat (limited to 'tracker-hatire/ftnoir_tracker_hat_dialog.cpp')
-rw-r--r--tracker-hatire/ftnoir_tracker_hat_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-hatire/ftnoir_tracker_hat_dialog.cpp b/tracker-hatire/ftnoir_tracker_hat_dialog.cpp
index 491d1214..7cb25d18 100644
--- a/tracker-hatire/ftnoir_tracker_hat_dialog.cpp
+++ b/tracker-hatire/ftnoir_tracker_hat_dialog.cpp
@@ -177,8 +177,8 @@ void dialog_hatire::poll_tracker_info()
int frame_cnt;
theTracker->get_info(&frame_cnt);
- ui.lab_vtps->setText(QString::number(frame_cnt*(1000/last_time.elapsed())));
- last_time.restart();
+ ui.lab_vtps->setText(QString::number(frame_cnt*(1000/last_time.elapsed_ms())));
+ last_time.start();
}
}