Commit 704ea2a7 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Remove unused variable

parent 71107c2d
......@@ -30,7 +30,6 @@
QVector<Category*> CategoriesReader::loadCategoriesFile(AbstractResourcesBackend* backend)
QVector<Category *> ret;
QString path = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("libdiscover/categories/")+backend->name()+QStringLiteral("-categories.xml"));
if (path.isEmpty()) {
auto cat = backend->category();
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