summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/ftnoir_tracker_hat_dialog.cpp
diff options
context:
space:
mode:
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();
}
}