Commit 1e1b50b2 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

apply patch #91112 from Maik Qualmann to cancel raw preview loading if...

apply patch #91112 from Maik Qualmann to cancel raw preview loading if necessary when image preview switch from one item to another one.
BUGS: 344154
FIXED-IN: 4.8.0
parent c2638a31
......@@ -14,4 +14,5 @@ BUGFIXES FROM KDE BUGZILLA (https://www.digikam.org/changelog):
006 ==> 332314 - Lens Auto-Correction seems to prefer makernotes over Exif making fixing manual lenses impossible.
007 ==> 343755 - Tags from Windows Photo Gallery sometimes ignored.
008 ==> 341241 - digiKam crash during marking photos in Persons/Tags view [patch]
009 ==>
009 ==> 344154 - digiKam sometimes shows the raw preview, sometimes the JPEG preview, depending on the position of the stars [patch].
010 ==>
......@@ -523,6 +523,11 @@ bool PreviewLoadingTask::loadLibRawPreview(int sizeLimit)
bool PreviewLoadingTask::loadHalfSizeRaw()
{
if (!continueQuery())
{
return false;
}
KDcrawIface::KDcraw::loadHalfPreview(m_qimage, m_loadingDescription.filePath);
return !m_qimage.isNull();
}
......
Markdown is supported
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