Commit 759751d3 authored by Halla Rempt's avatar Halla Rempt
Browse files

Revert "Use Krita's engine to load previews for PSD files"

This reverts commit 48ca610a.

This made Krita try to access resources in a background thread,
which is not possible.

BUG:459512
(cherry picked from commit 034a3c5c01b356b3c9b0f9f9bf84469d4e328c4d)
parent c6445e10
Pipeline #235575 passed with stage
in 50 minutes and 4 seconds
......@@ -110,10 +110,7 @@ bool KisFileIconCreator::createFileIcon(QString path, QIcon &icon, qreal deviceP
} else {
return false;
}
} else if (mimeType == "image/tiff" ||
mimeType == "image/x-tiff" ||
mimeType == "image/vnd.adobe.photoshop") {
} else if (mimeType == "image/tiff" || mimeType == "image/x-tiff") {
// Workaround for a bug in Qt tiff QImageIO plugin
QScopedPointer<KisDocument> doc(KisPart::instance()->createTemporaryDocument());
doc->setFileBatchMode(true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment