7c39318b90
revisit digikam once sqlite3 is updated
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
$OpenBSD: patch-kipi-plugins_jpeglossless_utils_cpp,v 1.1 2008/07/19 11:58:57 espie Exp $
|
|
--- kipi-plugins/jpeglossless/utils.cpp.orig Sat Jul 19 00:54:14 2008
|
|
+++ kipi-plugins/jpeglossless/utils.cpp Sat Jul 19 00:55:13 2008
|
|
@@ -104,7 +104,8 @@ bool Utils::updateMetadataImageMagick(const QString& s
|
|
memcpy(exifData.data()+sizeof(exifHeader), ba.data(), ba.size());
|
|
QByteArray iptcData = meta.getIptc(true);
|
|
|
|
- KTempFile exifTemp(QString(), "kipipluginsiptc.app1");
|
|
+ QString t;
|
|
+ KTempFile exifTemp(t, "kipipluginsiptc.app1");
|
|
exifTemp.setAutoDelete(true);
|
|
QFile *exifFile = exifTemp.file();
|
|
if ( !exifFile )
|
|
@@ -116,7 +117,8 @@ bool Utils::updateMetadataImageMagick(const QString& s
|
|
streamExif.writeRawBytes(exifData.data(), exifData.size());
|
|
exifFile->close();
|
|
|
|
- KTempFile iptcTemp(QString(), "kipipluginsiptc.8bim");
|
|
+ QString t2;
|
|
+ KTempFile iptcTemp(t2, "kipipluginsiptc.8bim");
|
|
iptcTemp.setAutoDelete(true);
|
|
QFile *iptcFile = iptcTemp.file();
|
|
if ( !iptcFile )
|