Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
9f353c19
Commit
9f353c19
authored
Jun 12, 2019
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/assets/model/assetparametermodel.cpp
src/assets/model/assetparametermodel.cpp
+3
-0
No files found.
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
Markdown
is supported
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