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
Multimedia
Kdenlive
Commits
9f353c19
Commit
9f353c19
authored
Jun 12, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix some effects default params on locales with comma
Fixes
#242
parent
ed02d641
Pipeline
#4259
passed with stage
in 18 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/assets/model/assetparametermodel.cpp
View file @
9f353c19
...
...
@@ -528,6 +528,9 @@ QVariant AssetParameterModel::parseAttribute(const ObjectId &owner, const QStrin
return
p
.
get_double
(
"eval"
);
}
}
else
if
(
type
==
ParamType
::
Double
||
type
==
ParamType
::
Hidden
)
{
if
(
attribute
==
QLatin1String
(
"default"
))
{
return
content
.
toDouble
();
}
QLocale
locale
;
locale
.
setNumberOptions
(
QLocale
::
OmitGroupSeparator
);
return
locale
.
toDouble
(
content
);
...
...
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