Skip to content

Commit

Permalink
Added another return by ref
Browse files Browse the repository at this point in the history
  • Loading branch information
SilkeSchomann committed Jan 30, 2025
1 parent 733df95 commit 0a8bf6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ template <class PropertyManager> class QtAbstractEditorFactory : public QtAbstra
m_managers.remove(manager);
}

const QSet<PropertyManager *> propertyManagers() const { return m_managers; }
const QSet<PropertyManager *> &propertyManagers() const { return m_managers; }
PropertyManager *propertyManager(QtProperty *property) const {
const QtAbstractPropertyManager *manager = property->propertyManager();
QSetIterator<PropertyManager *> itManager(m_managers);
Expand Down

0 comments on commit 0a8bf6f

Please sign in to comment.