mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-03 01:42:20 +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."));
|
Widget::sendNotification(tr("Failed to load application icon."));
|
||||||
})
|
})
|
||||||
.block()
|
.block()
|
||||||
.timeout(5 * 100)
|
.timeout(-1)
|
||||||
.exec();
|
.exec();
|
||||||
|
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ void SpkAppInfoLoaderThread::run()
|
|||||||
// Widget::sendNotification(tr("Failed to load application screenshot."));
|
// Widget::sendNotification(tr("Failed to load application screenshot."));
|
||||||
})
|
})
|
||||||
.block()
|
.block()
|
||||||
.timeout(4 * 100)
|
.timeout(-1)
|
||||||
.exec();
|
.exec();
|
||||||
}
|
}
|
||||||
emit finishAllLoading();
|
emit finishAllLoading();
|
||||||
@ -161,8 +161,8 @@ void SpkAppInfoLoaderThread::run()
|
|||||||
|
|
||||||
Widget::sendNotification(tr("Failed to download app info. Please check internet connection."));
|
Widget::sendNotification(tr("Failed to download app info. Please check internet connection."));
|
||||||
})
|
})
|
||||||
.timeout(5 * 100)
|
|
||||||
.block()
|
.block()
|
||||||
|
.timeout(-1)
|
||||||
.exec();
|
.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user