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/perfprofiler/perfprofilerplugin.cpp | |
parent | e846b8717aad09e71650c6ca95b05d320f1eb3f1 (diff) |
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/perfprofiler/perfprofilerplugin.cpp')
-rw-r--r-- | src/plugins/perfprofiler/perfprofilerplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/perfprofiler/perfprofilerplugin.cpp b/src/plugins/perfprofiler/perfprofilerplugin.cpp index 087fd0d7651..26f2272204d 100644 --- a/src/plugins/perfprofiler/perfprofilerplugin.cpp +++ b/src/plugins/perfprofiler/perfprofilerplugin.cpp @@ -102,9 +102,9 @@ PerfSettings *PerfProfilerPlugin::globalSettings() return perfGlobalSettings(); } -QList<QObject *> PerfProfilerPlugin::createTestObjects() const +QVector<QObject *> PerfProfilerPlugin::createTestObjects() const { - QList<QObject *> tests; + QVector<QObject *> tests; #if WITH_TESTS tests << new PerfProfilerTraceFileTest; tests << new PerfResourceCounterTest; |