diff options
Diffstat (limited to 'examples/qml/referenceexamples/properties/birthdayparty.h')
-rw-r--r-- | examples/qml/referenceexamples/properties/birthdayparty.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml/referenceexamples/properties/birthdayparty.h b/examples/qml/referenceexamples/properties/birthdayparty.h index a5704972cc..9da5158de2 100644 --- a/examples/qml/referenceexamples/properties/birthdayparty.h +++ b/examples/qml/referenceexamples/properties/birthdayparty.h @@ -51,7 +51,7 @@ #define BIRTHDAYPARTY_H #include <QObject> -#include <QVector> +#include <QList> #include <QQmlListProperty> #include "person.h" @@ -91,7 +91,7 @@ private: static void removeLastGuest(QQmlListProperty<Person>*); Person *m_host; - QVector<Person *> m_guests; + QList<Person *> m_guests; }; // ![3] |