From f1cd84770fa9d26450b4489faa2a805dc133f5b6 Mon Sep 17 00:00:00 2001 From: Andrey Kozhevnikov Date: Fri, 26 Jun 2020 12:28:21 +0300 Subject: [PATCH] [compile] Replace QTimer::elapsed (deprecated) with QElapsedTimer --- QtScrcpy/device/device.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/QtScrcpy/device/device.h b/QtScrcpy/device/device.h index 2463e0a..29d4b15 100644 --- a/QtScrcpy/device/device.h +++ b/QtScrcpy/device/device.h @@ -1,6 +1,7 @@ #ifndef DEVICE_H #define DEVICE_H +#include #include #include @@ -116,7 +117,7 @@ private: // ui QPointer m_videoForm; - QTime m_startTimeCount; + QElapsedTimer m_startTimeCount; DeviceParams m_params; GroupControlState m_controlState = GCS_FREE;