[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdegraphics/libs/libkexiv2/libkexiv2
From: Gilles Caulier <caulier.gilles () gmail ! com>
Date: 2009-01-30 12:20:57
Message-ID: 1233318057.774743.29868.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 918642 by cgilles:
backport commit #918640 from trunk
M +6 -4 kexiv2.cpp
--- branches/KDE/4.2/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp #918641:918642
@@ -308,20 +308,22 @@
// TIFF/EP Raw file based supported by Exiv2 0.18 are : DNG, NEF, PEF.
QString rawTiffBasedSupported("dng nef pef");
QString rawTiffBasedNotSupported("3fr arw cr2 dcr erf k25 kdc mos orf raw sr2 srf");
- if (rawTiffBasedNotSupported.contains(finfo.suffix().toUpper()))
+ QString ext = finfo.suffix().toLower();
+ if (rawTiffBasedNotSupported.contains(ext))
{
- kDebug(51003) << "'" << dinfo.filePath().toAscii().constData()
+ kDebug(51003) << "'" << finfo.fileName().toAscii().constData()
<< "' is TIFF based RAW file not yet supported. Metadata not saved." << endl;
return false;
}
- if (rawTiffBasedSupported.contains(finfo.suffix().toUpper()) && !d->writeRawFiles)
+ if (rawTiffBasedSupported.contains(finfo.suffix().toLower()) && !d->writeRawFiles)
{
- kDebug(51003) << "'" << dinfo.filePath().toAscii().constData()
+ kDebug(51003) << "'" << finfo.fileName().toAscii().constData()
<< "' is TIFF based RAW file supported but writing mode is disabled. "
<< "Metadata not saved." << endl;
return false;
}
+ kDebug(51003) << "File Extension: " << ext << " is supported for writing mode" << endl;
try
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic