Skip to content
GitLab
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
bf9524e6
Commit
bf9524e6
authored
Oct 08, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix possible issue with char* to QVariant conversion
parent
ed387d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/assets/model/assetparametermodel.cpp
View file @
bf9524e6
...
...
@@ -564,7 +564,7 @@ QVariant AssetParameterModel::data(const QModelIndex &index, int role) const
case
ListValuesRole
:
return
element
.
attribute
(
QStringLiteral
(
"paramlist"
)).
split
(
QLatin1Char
(
';'
));
case
InstalledValuesRole
:
return
m_asset
->
get
(
"kdenlive:paramlist"
);
return
QString
(
m_asset
->
get
(
"kdenlive:paramlist"
)
)
;
case
ListNamesRole
:
{
QDomElement
namesElem
=
element
.
firstChildElement
(
QStringLiteral
(
"paramlistdisplay"
));
return
i18n
(
namesElem
.
text
().
toUtf8
().
data
()).
split
(
QLatin1Char
(
','
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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