Commit 2839559b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

--leak

parent f7d871b7
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment