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
b83f0f40
Commit
b83f0f40
authored
Feb 05, 2021
by
Aleix Pol Gonzalez
🐧
Committed by
Aleix Pol Gonzalez
Feb 05, 2021
Browse files
flatpak: Make sure we refresh the size display on the views
(cherry picked from commit
42b084fb
)
parent
8162f0f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
View file @
b83f0f40
...
...
@@ -546,6 +546,11 @@ void FlatpakBackend::addResource(FlatpakResource *resource)
m_extends
.
append
(
resource
->
extends
());
m_extends
.
removeDuplicates
();
}
connect
(
resource
,
&
FlatpakResource
::
sizeChanged
,
this
,
[
this
,
resource
]
{
if
(
!
isFetching
())
Q_EMIT
resourcesChanged
(
resource
,
{
"size"
,
"sizeDescription"
});
});
}
class
FlatpakSource
...
...
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