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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user