diff --git a/cockatrice/src/client/ui/picture_loader/picture_loader_worker_work.cpp b/cockatrice/src/client/ui/picture_loader/picture_loader_worker_work.cpp index 7d16bd2fe..cafb829d6 100644 --- a/cockatrice/src/client/ui/picture_loader/picture_loader_worker_work.cpp +++ b/cockatrice/src/client/ui/picture_loader/picture_loader_worker_work.cpp @@ -98,12 +98,11 @@ void PictureLoaderWorkerWork::handleNetworkReply(QNetworkReply *reply) if (reply->error()) { handleFailedReply(reply); } else { - handleSuccessfulReply(reply); - - // If we hit a cached image, we get to make another request for free. if (reply->attribute(QNetworkRequest::SourceIsFromCacheAttribute).toBool()) { emit cachedImageHit(); } + + handleSuccessfulReply(reply); } reply->deleteLater();