aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/qml/referenceexamples/properties/birthdayparty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/referenceexamples/properties/birthdayparty.cpp b/examples/qml/referenceexamples/properties/birthdayparty.cpp
index 8a5e9e553e..717c3e0f71 100644
--- a/examples/qml/referenceexamples/properties/birthdayparty.cpp
+++ b/examples/qml/referenceexamples/properties/birthdayparty.cpp
@@ -90,7 +90,7 @@ Person *BirthdayParty::guest(int index) const
}
void BirthdayParty::clearGuests() {
- return m_guests.clear();
+ m_guests.clear();
}
// ![0]