Commit 2cce7ede authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

apply patch #89831 to fix XML conversion from Raw decoding settings used in...

apply patch #89831 to fix XML conversion from Raw decoding settings used in main Queue configuration
parent d92e25b6
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment