Commit 07547f24 authored by Lukas Appelhans's avatar Lukas Appelhans
Browse files

Load groups correctly again

parent ad4e86b7
...@@ -723,11 +723,11 @@ Group* Backend::loadGroupFromFile(const QString &path) ...@@ -723,11 +723,11 @@ Group* Backend::loadGroupFromFile(const QString &path)
QStringList split = line.split('='); QStringList split = line.split('=');
if (split.isEmpty()) if (split.isEmpty())
continue; continue;
if (split.first() == "name") { if (split.first() == "Name") {
group = d->groupPool->group(split.last()); group = d->groupPool->group(split.last());
} else if (split.first() == "description" && group) { } else if (split.first() == "Description" && group) {
group->d_ptr->desc = split.last(); group->d_ptr->desc = split.last();
} else if (split.first() == "iconname" && group) { } else if (split.first() == "Iconname" && group) {
group->d_ptr->icon = split.last(); group->d_ptr->icon = split.last();
} }
} }
......
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