mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Don't emit boxArtLoadComplete on box art load failure to prevent an infinite loop
This commit is contained in:
@@ -89,10 +89,9 @@ QUrl BoxArtManager::loadBoxArt(NvComputer* computer, NvApp& app)
|
|||||||
|
|
||||||
void BoxArtManager::handleBoxArtLoadComplete(NvComputer* computer, NvApp app, QUrl image)
|
void BoxArtManager::handleBoxArtLoadComplete(NvComputer* computer, NvApp app, QUrl image)
|
||||||
{
|
{
|
||||||
if (image.isEmpty()) {
|
if (!image.isEmpty()) {
|
||||||
image = QUrl("qrc:/res/no_app_image.png");
|
emit boxArtLoadComplete(computer, app, image);
|
||||||
}
|
}
|
||||||
emit boxArtLoadComplete(computer, app, image);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QUrl BoxArtManager::loadBoxArtFromNetwork(NvComputer* computer, int appId)
|
QUrl BoxArtManager::loadBoxArtFromNetwork(NvComputer* computer, int appId)
|
||||||
|
|||||||
Reference in New Issue
Block a user