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