Skip to content

Commit

Permalink
fix comments in propertytype.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dogboydog committed Jan 17, 2025
1 parent d85cb93 commit 74afdef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libtiled/propertytype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,8 @@ const PropertyType *PropertyTypes::findTypeById(int typeId) const
}

/**
* Returns a pointer to the PropertyType matching the given \a typeId, or
* nullptr if it can't be found.
* Returns the index of the type of the given name,
* or -1 if no such type is found.
*/
const int PropertyTypes::findIndexByName(const QString &name) const
{
Expand Down

0 comments on commit 74afdef

Please sign in to comment.