Add non-const version of Group::groupsRecursive().
This commit is contained in:
@@ -168,7 +168,7 @@ void EditWidgetIcons::removeCustomIcon()
|
||||
}
|
||||
}
|
||||
|
||||
QList<const Group*> allGroups = m_database->rootGroup()->groupsRecursive(true);
|
||||
QList<Group*> allGroups = m_database->rootGroup()->groupsRecursive(true);
|
||||
Q_FOREACH (const Group* group, allGroups) {
|
||||
if (iconUuid == group->iconUuid() && m_currentUuid != group->uuid()) {
|
||||
iconUsedCount++;
|
||||
|
||||
Reference in New Issue
Block a user