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
Plasma
Discover
Commits
42b084fb
Commit
42b084fb
authored
Feb 05, 2021
by
Aleix Pol Gonzalez
🐧
Browse files
flatpak: Make sure we refresh the size display on the views
parent
4013a282
Changes
1
Show whitespace changes
Inline
Side-by-side
libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
View file @
42b084fb
...
...
@@ -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
...
...
Aleix Pol Gonzalez
🐧
@apol
mentioned in commit
b83f0f40
·
Feb 05, 2021
mentioned in commit
b83f0f40
mentioned in commit b83f0f40358687f73fe74b483b0c40cf1678d4de
Toggle commit list
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