diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-11-26 09:27:26 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-12-09 14:33:45 +0100 |
commit | ee87edebe6f934ec915b7cb4a0f5a28f73e9f221 (patch) | |
tree | e1e7108b4d8dd9de4ed390f1421a57bb4f455c0d /src/designer/src/components/objectinspector/objectinspectormodel_p.h | |
parent | aa40303166b8596bf21cdcf4286cb3d548b7ac9e (diff) | |
download | qttools-ee87edebe6f934ec915b7cb4a0f5a28f73e9f221.tar.gz |
Qt Designer: Migrate from QList to QVector
Change-Id: I75f6f4b7157616ba86bf520e1936536571a66ba5
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/components/objectinspector/objectinspectormodel_p.h')
-rw-r--r-- | src/designer/src/components/objectinspector/objectinspectormodel_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/src/components/objectinspector/objectinspectormodel_p.h b/src/designer/src/components/objectinspector/objectinspectormodel_p.h index 14bcf78cb..35446cc49 100644 --- a/src/designer/src/components/objectinspector/objectinspectormodel_p.h +++ b/src/designer/src/components/objectinspector/objectinspectormodel_p.h @@ -76,7 +76,7 @@ namespace qdesigner_internal { ExtensionContainer // QTabWidget and the like, container extension }; - using StandardItemList = QList<QStandardItem *>; + using StandardItemList = QVector<QStandardItem *>; explicit ObjectData(QObject *parent, QObject *object, const ModelRecursionContext &ctx); ObjectData(); @@ -121,7 +121,7 @@ namespace qdesigner_internal { // internally for its updates. class ObjectInspectorModel : public QStandardItemModel { public: - using StandardItemList = QList<QStandardItem *>; + using StandardItemList = QVector<QStandardItem *>; enum { ObjectNameColumn, ClassNameColumn, NumColumns }; explicit ObjectInspectorModel(QObject *parent); |