mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
更新注释
This commit is contained in:
parent
5d3b118e27
commit
2f81e7372b
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@ bool Server::connectTo()
|
|||
// connect will success even if devices offline, recv data is real connect success
|
||||
// because connect is to pc adb server
|
||||
m_deviceSocket->waitForReadyRead(1000);
|
||||
// devices will send 1 byte first on tunnel forward mode
|
||||
QByteArray data = m_deviceSocket->read(1);
|
||||
if (!data.isEmpty() && readInfo(deviceName, deviceSize)) {
|
||||
success = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue