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
e1af19ea
Commit
e1af19ea
authored
Dec 13, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix empty i18 warnings on startup
parent
33ffef51
Pipeline
#11809
passed with stage
in 13 minutes and 55 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/assets/abstractassetsrepository.ipp
View file @
e1af19ea
...
...
@@ -139,7 +139,7 @@ template <typename AssetType> bool AbstractAssetsRepository<AssetType>::parseInf
QString id = metadata->get("identifier");
res.name = i18n(metadata->get("title"));
res.name[0] = res.name[0].toUpper();
res.description = i18n(metadata->get("description")) + QString(" (%1)").arg(id);
res.description =
metadata->get("description") ?
i18n(metadata->get("description")) + QString(" (%1)").arg(id)
: id
;
res.author = metadata->get("creator");
res.version_str = metadata->get("version");
res.version = ceil(100 * metadata->get_double("version"));
...
...
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