diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-05-27 14:12:11 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-05-27 14:21:00 +0000 |
commit | e0b0a08e50cef4c91808e30c2d3d33ee1b0cd0b8 (patch) | |
tree | f0f8231b559ea100015eb1dc3029b076dd78399a /src/plugins/compilationdatabaseprojectmanager | |
parent | e846b8717aad09e71650c6ca95b05d320f1eb3f1 (diff) | |
download | qt-creator-e0b0a08e50cef4c91808e30c2d3d33ee1b0cd0b8.tar.gz |
ExtensionSystem: Move away from QList
Qt 6 API will move away from it.
Use QVector for API and some std container for internal things.
Change-Id: Iff14d48a47d5ac52ade875d9c8c84ad8a4f577d8
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/compilationdatabaseprojectmanager')
-rw-r--r-- | src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.cpp | 4 | ||||
-rw-r--r-- | src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.cpp b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.cpp index 031c98c03d..5da42c8bfd 100644 --- a/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.cpp +++ b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.cpp @@ -95,9 +95,9 @@ void CompilationDatabaseProjectManagerPlugin::extensionsInitialized() { } -QList<QObject *> CompilationDatabaseProjectManagerPlugin::createTestObjects() const +QVector<QObject *> CompilationDatabaseProjectManagerPlugin::createTestObjects() const { - QList<QObject *> tests; + QVector<QObject *> tests; #ifdef WITH_TESTS tests << new CompilationDatabaseTests; #endif diff --git a/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.h b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.h index 001e32f5f6..42a15ad3cf 100644 --- a/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.h +++ b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseprojectmanagerplugin.h @@ -45,7 +45,7 @@ public: private: void projectChanged(); - QList<QObject *> createTestObjects() const final; + QVector<QObject *> createTestObjects() const final; CompilationDatabaseEditorFactory factory; CompilationDatabaseBuildConfigurationFactory buildConfigFactory; |