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
2839559b
Commit
2839559b
authored
Dec 01, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
--leak
parent
f7d871b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
View file @
2839559b
...
...
@@ -67,6 +67,9 @@ FlatpakSourcesBackend::~FlatpakSourcesBackend()
auto
conf
=
KSharedConfig
::
openConfig
();
KConfigGroup
group
=
conf
->
group
(
"FlatpakSources"
);
group
.
writeEntry
(
"Sources"
,
ids
);
if
(
!
m_noSourcesItem
->
model
())
delete
m_noSourcesItem
;
}
QAbstractItemModel
*
FlatpakSourcesBackend
::
sources
()
...
...
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