Commit d6907711 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

apply patch #89843 from Jan Wolter to fix BQM sharp tool settings conversion to XML

CCBUGS: 318726
parent 0cca4838
......@@ -204,7 +204,7 @@ FilterAction UnsharpMaskFilter::filterAction()
void UnsharpMaskFilter::readParameters(const FilterAction& action)
{
m_amount = action.parameter("amount").toDouble();
m_radius = action.parameter("radius").toInt();
m_radius = action.parameter("radius").toDouble();
m_threshold = action.parameter("threshold").toDouble();
}
......
......@@ -189,7 +189,7 @@ bool Sharpen::toolOperations()
case SharpContainer::UnsharpMask:
{
int r = (int)settings()["UnsharpMaskRadius"].toDouble();
double r = settings()["UnsharpMaskRadius"].toDouble();
double a = settings()["UnsharpMaskAmount"].toDouble();
double th = settings()["UnsharpMaskThreshold"].toDouble();
......
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