aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 12:12:52 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-25 07:54:07 +0200
commitdd71c43b9718be3523ed6b307a3402f88de070e1 (patch)
tree16d98b58843a729ad9153142121a5371ff305af5 /examples/qml
parent10669911b7beac620989d69653334fb6ee477744 (diff)
Use QList instead of QVector
Task-number: QTBUG-84469 Change-Id: I4c3353c00a566023503fbc178ba8454391dc334c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/qml')
-rw-r--r--examples/qml/referenceexamples/properties/birthdayparty.h4
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]