[Digikam-devel] [digikam] [Bug 318726] Some BQM tools in a workflow don't restore (all) parameters properly [patch]
Gilles Caulier
caulier.gilles at gmail.com
Fri Dec 5 08:55:02 GMT 2014
https://bugs.kde.org/show_bug.cgi?id=318726
--- Comment #16 from Gilles Caulier <caulier.gilles at gmail.com> ---
Git commit 2cce7ede354e5796adc9487c8b6f57e8d3433613 by Gilles Caulier.
Committed on 05/12/2014 at 08:53.
Pushed by cgilles into branch 'master'.
apply patch #89831 to fix XML conversion from Raw decoding settings used in
main Queue configuration
M +8 -0 libs/dimg/drawdecoding.cpp
http://commits.kde.org/digikam/2cce7ede354e5796adc9487c8b6f57e8d3433613
diff --git a/libs/dimg/drawdecoding.cpp b/libs/dimg/drawdecoding.cpp
index b03dc1f..626b1cb 100644
--- a/libs/dimg/drawdecoding.cpp
+++ b/libs/dimg/drawdecoding.cpp
@@ -397,6 +397,10 @@ void DRawDecoding::decodingSettingsToXml(const
RawDecodingSettings& prm, QDomEle
data.setAttribute(QString::fromLatin1("value"), prm.autoBrightness);
elm.appendChild(data);
+ data = doc.createElement(QString::fromLatin1("fixcolorshighlights"));
+ data.setAttribute(QString::fromLatin1("value"), prm.fixColorsHighlights);
+ elm.appendChild(data);
+
data = doc.createElement(QString::fromLatin1("sixteenbitsimage"));
data.setAttribute(QString::fromLatin1("value"), prm.sixteenBitsImage);
elm.appendChild(data);
@@ -565,6 +569,10 @@ void DRawDecoding::decodingSettingsFromXml(const
QDomElement& elm, RawDecodingSe
{
prm.autoBrightness = (bool)val.toInt(&ok);
}
+ else if (key == "fixcolorshighlights")
+ {
+ prm.fixColorsHighlights = (bool)val.toInt(&ok);
+ }
else if (key == "sixteenbitsimage")
{
prm.sixteenBitsImage = (bool)val.toInt(&ok);
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list