Commit 8cdc9088 authored by Patrick José Pereira's avatar Patrick José Pereira

Vehicle: Use QElapsedTimer over deprecated QTime::start

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 080cc0bf
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#pragma once #pragma once
#include <QElapsedTimer>
#include <QObject> #include <QObject>
#include <QVariantList> #include <QVariantList>
#include <QGeoCoordinate> #include <QGeoCoordinate>
...@@ -1515,7 +1516,7 @@ private: ...@@ -1515,7 +1516,7 @@ private:
QString _gitHash; QString _gitHash;
quint64 _uid; quint64 _uid;
QTime _lastBatteryAnnouncement; QElapsedTimer _lastBatteryAnnouncement;
int _lastAnnouncedLowBatteryPercent; int _lastAnnouncedLowBatteryPercent;
SharedLinkInterfacePointer _priorityLink; // We always keep a reference to the priority link to manage shutdown ordering SharedLinkInterfacePointer _priorityLink; // We always keep a reference to the priority link to manage shutdown ordering
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment