mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 06:08:39 +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
|
#ifndef DEVICE_H
|
||||||
#define DEVICE_H
|
#define DEVICE_H
|
||||||
|
|
||||||
|
#include <QElapsedTimer>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
#include <QTime>
|
#include <QTime>
|
||||||
|
|
||||||
|
@ -116,7 +117,7 @@ private:
|
||||||
// ui
|
// ui
|
||||||
QPointer<VideoForm> m_videoForm;
|
QPointer<VideoForm> m_videoForm;
|
||||||
|
|
||||||
QTime m_startTimeCount;
|
QElapsedTimer m_startTimeCount;
|
||||||
DeviceParams m_params;
|
DeviceParams m_params;
|
||||||
|
|
||||||
GroupControlState m_controlState = GCS_FREE;
|
GroupControlState m_controlState = GCS_FREE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue