From 10b758d8f3ea1d30383ba779b05a579b5b999f4a Mon Sep 17 00:00:00 2001 From: zty199 <1282441920@qq.com> Date: Tue, 29 Jun 2021 14:05:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E7=BB=8F=E5=B8=B8=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关闭传输超时上限,未下载完成则持续等待;可能存在严重问题...... --- src/workerthreads.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/workerthreads.cpp b/src/workerthreads.cpp index 52ddd69..2b8e34c 100644 --- a/src/workerthreads.cpp +++ b/src/workerthreads.cpp @@ -118,7 +118,7 @@ void SpkAppInfoLoaderThread::run() Widget::sendNotification(tr("Failed to load application icon.")); }) .block() - .timeout(5 * 100) + .timeout(-1) .exec(); @@ -148,7 +148,7 @@ void SpkAppInfoLoaderThread::run() // Widget::sendNotification(tr("Failed to load application screenshot.")); }) .block() - .timeout(4 * 100) + .timeout(-1) .exec(); } emit finishAllLoading(); @@ -161,8 +161,8 @@ void SpkAppInfoLoaderThread::run() Widget::sendNotification(tr("Failed to download app info. Please check internet connection.")); }) - .timeout(5 * 100) - .block() + .block() + .timeout(-1) .exec(); }