|
|
|
@ -104,7 +104,7 @@ bool KDcraw::loadEmbeddedPreview(TQByteArray& imgData, const TQString& path)
|
|
|
|
|
TQString rawFilesExt(rawFiles());
|
|
|
|
|
TQString ext = fileInfo.extension(false).upper();
|
|
|
|
|
|
|
|
|
|
if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().tqcontains(ext))
|
|
|
|
|
if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().contains(ext))
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
LibRaw raw;
|
|
|
|
@ -162,7 +162,7 @@ bool KDcraw::loadHalfPreview(TQImage& image, const TQString& path)
|
|
|
|
|
TQString rawFilesExt(rawFiles());
|
|
|
|
|
TQString ext = fileInfo.extension(false).upper();
|
|
|
|
|
|
|
|
|
|
if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().tqcontains(ext))
|
|
|
|
|
if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().contains(ext))
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
qDebug("Try to use reduced RAW picture extraction");
|
|
|
|
@ -229,7 +229,7 @@ bool KDcraw::rawFileIdentify(DcrawInfoContainer& identify, const TQString& path)
|
|
|
|
|
TQString ext = fileInfo.extension(false).upper();
|
|
|
|
|
identify.isDecodable = false;
|
|
|
|
|
|
|
|
|
|
if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().tqcontains(ext))
|
|
|
|
|
if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().contains(ext))
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
LibRaw raw;
|
|
|
|
@ -264,7 +264,7 @@ bool KDcraw::extractRAWData(const TQString& filePath, TQByteArray &rawData, Dcra
|
|
|
|
|
TQString ext = fileInfo.extension(false).upper();
|
|
|
|
|
identify.isDecodable = false;
|
|
|
|
|
|
|
|
|
|
if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().tqcontains(ext))
|
|
|
|
|
if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().contains(ext))
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
if (m_cancel)
|
|
|
|
|