summaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews/interview/model.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/itemviews/interview/model.h')
-rw-r--r--examples/widgets/itemviews/interview/model.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/widgets/itemviews/interview/model.h b/examples/widgets/itemviews/interview/model.h
index 132f1d01aa..ee64a32f93 100644
--- a/examples/widgets/itemviews/interview/model.h
+++ b/examples/widgets/itemviews/interview/model.h
@@ -54,7 +54,7 @@
#include <QAbstractItemModel>
#include <QFileIconProvider>
#include <QIcon>
-#include <QVector>
+#include <QList>
class Model : public QAbstractItemModel
{
@@ -83,7 +83,7 @@ private:
Node(Node *parent = nullptr) : parent(parent), children(nullptr) {}
~Node() { delete children; }
Node *parent;
- QVector<Node> *children;
+ QList<Node> *children;
};
Node *node(int row, Node *parent) const;
@@ -93,7 +93,7 @@ private:
QIcon services;
int rc;
int cc;
- QVector<Node> *tree;
+ QList<Node> *tree;
QFileIconProvider iconProvider;
};