From 44ddb1411e53d73f9c425b1a9631856435d57ad8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 1 Jan 2020 18:56:34 -0800 Subject: code cleanup: use QElapsedTimer instead of QTime Newer versions of Qt deprecate using QTime as a timer. Signed-off-by: Dirk Hohndel --- profile-widget/divetooltipitem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'profile-widget/divetooltipitem.h') diff --git a/profile-widget/divetooltipitem.h b/profile-widget/divetooltipitem.h index 0ae399bcb..268159621 100644 --- a/profile-widget/divetooltipitem.h +++ b/profile-widget/divetooltipitem.h @@ -7,7 +7,7 @@ #include #include #include -#include +#include #include "core/display.h" class DiveCartesianAxis; @@ -61,7 +61,7 @@ private: DiveCartesianAxis *timeAxis; plot_info pInfo; int lastTime; - QTime refreshTime; + QElapsedTimer refreshTime; QList oldSelection; }; -- cgit v1.2.3-70-g09d2