Commit 2b061966 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

kns: Don't delete categories when the backend is marked as invalid

parent 4eddf4d8
......@@ -152,6 +152,7 @@ KNSBackend::~KNSBackend()
void KNSBackend::markInvalid(const QString &message)
{
m_rootCategories.clear();
qWarning() << "invalid kns backend!" << m_name << "because:" << message;
m_isValid = false;
setFetching(false);
......
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