mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Refactor DetailsWidget
This commit is contained in:
@@ -439,11 +439,11 @@ void Group::setParent(Database* db)
|
||||
QObject::setParent(db);
|
||||
}
|
||||
|
||||
QStringList Group::hierarchy()
|
||||
QStringList Group::hierarchy() const
|
||||
{
|
||||
QStringList hierarchy;
|
||||
Group* group = this;
|
||||
Group* parent = m_parent;
|
||||
const Group* group = this;
|
||||
const Group* parent = m_parent;
|
||||
hierarchy.prepend(group->name());
|
||||
|
||||
while (parent) {
|
||||
|
||||
Reference in New Issue
Block a user