diff --git a/src/profile/Profile.h b/src/profile/Profile.h index 1ce0c0f7..c90ba6f7 100644 --- a/src/profile/Profile.h +++ b/src/profile/Profile.h @@ -445,6 +445,15 @@ public: /** Returns true if no properties have been set in this Profile instance. */ bool isEmpty() const; + /** + * Clears all set properties in this profile. Afte calling this, isEmpty() + * will return true. + */ + void clear() + { + _propertyValues.clear(); + } + /** * Returns true if this profile is the built-in profile. */