core/colorquant: print image source url vs pointer on err

This commit is contained in:
outfoxxed 2025-07-10 04:05:16 -07:00
parent 5703fbae21
commit 6f774af11e
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -47,7 +47,7 @@ void ColorQuantizerOperation::quantizeImage(const QAtomicInteger<bool>& shouldCa
} }
if (image.isNull()) { if (image.isNull()) {
qCWarning(logColorQuantizer) << "Failed to load image from" << source; qCWarning(logColorQuantizer) << "Failed to load image from" << source->toString();
return; return;
} }