Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
digiKam
Commits
d6907711
Commit
d6907711
authored
Dec 06, 2014
by
Gilles Caulier
🗼
Browse files
apply patch #89843 from Jan Wolter to fix BQM sharp tool settings conversion to XML
CCBUGS: 318726
parent
0cca4838
Changes
2
Hide whitespace changes
Inline
Side-by-side
libs/dimg/filters/sharp/unsharpmaskfilter.cpp
View file @
d6907711
...
...
@@ -204,7 +204,7 @@ FilterAction UnsharpMaskFilter::filterAction()
void
UnsharpMaskFilter
::
readParameters
(
const
FilterAction
&
action
)
{
m_amount
=
action
.
parameter
(
"amount"
).
toDouble
();
m_radius
=
action
.
parameter
(
"radius"
).
to
Int
();
m_radius
=
action
.
parameter
(
"radius"
).
to
Double
();
m_threshold
=
action
.
parameter
(
"threshold"
).
toDouble
();
}
...
...
utilities/queuemanager/basetools/enhance/sharpen.cpp
View file @
d6907711
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment