layout update

This commit is contained in:
thez3ro 2017-09-27 19:18:13 +02:00
parent 4a5fc2104f
commit eb65822665
No known key found for this signature in database
GPG key ID: F628F9E41DD7C073
5 changed files with 449 additions and 361 deletions

View file

@ -440,14 +440,15 @@ QStringList Group::hierarchy()
QStringList hierarchy;
Group* group = this;
Group* parent = m_parent;
hierarchy << group->name();
hierarchy.prepend(group->name());
while (parent) {
group = group->parentGroup();
parent = group->parentGroup();
hierarchy << group->name();
hierarchy.prepend(group->name());
}
return hierarchy;
}