diff options
Diffstat (limited to 'examples/qml/referenceexamples/attached')
-rw-r--r-- | examples/qml/referenceexamples/attached/birthdayparty.cpp | 2 | ||||
-rw-r--r-- | examples/qml/referenceexamples/attached/birthdayparty.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml/referenceexamples/attached/birthdayparty.cpp b/examples/qml/referenceexamples/attached/birthdayparty.cpp index 888aafbc18..9aed5df621 100644 --- a/examples/qml/referenceexamples/attached/birthdayparty.cpp +++ b/examples/qml/referenceexamples/attached/birthdayparty.cpp @@ -59,7 +59,7 @@ QDate BirthdayPartyAttached::rsvp() const return m_rsvp; } -void BirthdayPartyAttached::setRsvp(const QDate &d) +void BirthdayPartyAttached::setRsvp(QDate d) { m_rsvp = d; } diff --git a/examples/qml/referenceexamples/attached/birthdayparty.h b/examples/qml/referenceexamples/attached/birthdayparty.h index 308d0652a8..4f2ed1702a 100644 --- a/examples/qml/referenceexamples/attached/birthdayparty.h +++ b/examples/qml/referenceexamples/attached/birthdayparty.h @@ -64,7 +64,7 @@ public: BirthdayPartyAttached(QObject *object); QDate rsvp() const; - void setRsvp(const QDate &); + void setRsvp(QDate); private: QDate m_rsvp; |