mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-02 17:32:25 +08:00
fix: 尝试修复详情页经常加载失败的问题
关闭传输超时上限,未下载完成则持续等待;可能存在严重问题......
This commit is contained in:
parent
78c5d31a29
commit
10b758d8f3
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user