Remove debug output in MatrixImageProvider

Cancelled requests are normal when scrolling through the timeline.
This makes the error messages useless and spam the console a lot.
This commit is contained in:
Tobias Fella
2021-04-08 12:37:12 +02:00
parent b68902cd0d
commit eed14e9c14

View File

@@ -89,7 +89,7 @@ void ThumbnailResponse::prepareResult()
errorStr.clear(); errorStr.clear();
} else if (job->error() == BaseJob::Abandoned) { } else if (job->error() == BaseJob::Abandoned) {
errorStr = i18n("Image request has been cancelled"); errorStr = i18n("Image request has been cancelled");
qDebug() << "ThumbnailResponse: cancelled for" << mediaId; //qDebug() << "ThumbnailResponse: cancelled for" << mediaId;
} else { } else {
errorStr = job->errorString(); errorStr = job->errorString();
qWarning() << "ThumbnailResponse: no valid image for" << mediaId << "-" << errorStr; qWarning() << "ThumbnailResponse: no valid image for" << mediaId << "-" << errorStr;