From 437a58624f5670cca3950c1f2a9cb7fd7ab6253e Mon Sep 17 00:00:00 2001 From: Barry <870709864@qq.com> Date: Mon, 25 Feb 2019 22:35:08 +0800 Subject: [PATCH] =?UTF-8?q?forward=E6=97=B6=E9=98=B2=E6=AD=A2=E6=97=A9?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QtScrcpy/server/server.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/QtScrcpy/server/server.cpp b/QtScrcpy/server/server.cpp index f8547de..1336beb 100644 --- a/QtScrcpy/server/server.cpp +++ b/QtScrcpy/server/server.cpp @@ -165,7 +165,9 @@ bool Server::connectTo() } // device server need time to start - QTimer::singleShot(600, this, [this](){ + // TODO:电脑配置太低的话,这里有可能时间不够导致连接太早,安卓监听socket还没有建立 + // 后续研究其他办法 + QTimer::singleShot(1000, this, [this](){ QString deviceName; QSize deviceSize; bool success = false;