mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
[compile] Replace QTimer::elapsed (deprecated) with QElapsedTimer
This commit is contained in:
parent
5305bcf13d
commit
f1cd84770f
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#ifndef DEVICE_H
|
||||
#define DEVICE_H
|
||||
|
||||
#include <QElapsedTimer>
|
||||
#include <QPointer>
|
||||
#include <QTime>
|
||||
|
||||
|
@ -116,7 +117,7 @@ private:
|
|||
// ui
|
||||
QPointer<VideoForm> m_videoForm;
|
||||
|
||||
QTime m_startTimeCount;
|
||||
QElapsedTimer m_startTimeCount;
|
||||
DeviceParams m_params;
|
||||
|
||||
GroupControlState m_controlState = GCS_FREE;
|
||||
|
|
Loading…
Add table
Reference in a new issue