From 74afdefe8ee2cdc7056bdf703804002ccc4d93c5 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 16 Jun 2024 21:41:11 -0400 Subject: [PATCH] fix comments in propertytype.cpp --- src/libtiled/propertytype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtiled/propertytype.cpp b/src/libtiled/propertytype.cpp index 87dfd12896..fe58bb07d3 100644 --- a/src/libtiled/propertytype.cpp +++ b/src/libtiled/propertytype.cpp @@ -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 {