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
Plasma
Discover
Commits
c2f751eb
Commit
c2f751eb
authored
Jan 17, 2022
by
Aleix Pol Gonzalez
🐧
Browse files
Do not register a unique application when we call with --feedback
This way it will not affect running instances.
parent
72706124
Pipeline
#125321
passed with stage
in 1 minute and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/FlatpakBackend/FlatpakResource.cpp
View file @
c2f751eb
...
...
@@ -231,7 +231,10 @@ QString FlatpakResource::installedVersion() const
}
if
(
auto
ref
=
qobject_cast
<
FlatpakBackend
*>
(
backend
())
->
getInstalledRefForApp
(
this
))
{
return
i18nc
(
"version (branch)"
,
"%1 (%2)"
,
flatpak_installed_ref_get_appdata_version
(
ref
),
version
);
const
char
*
appdataVersion
=
flatpak_installed_ref_get_appdata_version
(
ref
);
if
(
appdataVersion
)
{
return
i18nc
(
"version (branch)"
,
"%1 (%2)"
,
appdataVersion
,
version
);
}
}
return
version
;
}
...
...
Prajna Sariputra
@psariputra
mentioned in merge request
!287 (merged)
·
Apr 03, 2022
mentioned in merge request
!287 (merged)
mentioned in merge request !287
Toggle commit list
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