summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libkdcraw/libkdcraw/kdcraw.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdcraw/libkdcraw/kdcraw.cpp b/libkdcraw/libkdcraw/kdcraw.cpp
index dd97f2b..13cfd40 100644
--- a/libkdcraw/libkdcraw/kdcraw.cpp
+++ b/libkdcraw/libkdcraw/kdcraw.cpp
@@ -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)