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

Don't delete category instances

They are created by the plugin after all
parent 26030189
......@@ -171,10 +171,8 @@ void Category::addSubcategory(QVector< Category* >& list, Category* newcat)
c->m_notFilters += newcat->notFilters();
Q_FOREACH (Category* nc, newcat->subCategories()) {
addSubcategory(c->m_subCategories, nc);
delete newcat;
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