diff options
Diffstat (limited to 'examples/widgets/tools/treemodelcompleter')
-rw-r--r-- | examples/widgets/tools/treemodelcompleter/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/tools/treemodelcompleter/mainwindow.cpp b/examples/widgets/tools/treemodelcompleter/mainwindow.cpp index 3305ac9032..44c5b1312a 100644 --- a/examples/widgets/tools/treemodelcompleter/mainwindow.cpp +++ b/examples/widgets/tools/treemodelcompleter/mainwindow.cpp @@ -201,7 +201,7 @@ QAbstractItemModel *MainWindow::modelFromFile(const QString &fileName) #endif QStandardItemModel *model = new QStandardItemModel(completer); - QVector<QStandardItem *> parents(10); + QList<QStandardItem *> parents(10); parents[0] = model->invisibleRootItem(); QRegularExpression re("^\\s+"); |