更新注释

This commit is contained in:
Barry 2018-11-22 22:41:36 +08:00
parent 5d3b118e27
commit 2f81e7372b

View file

@ -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;