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 | |
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')
-rw-r--r-- | src/plugins/perfprofiler/perfprofilerplugin.cpp | 4 | ||||
-rw-r--r-- | src/plugins/perfprofiler/perfprofilerplugin.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/perfprofiler/perfprofilerplugin.cpp b/src/plugins/perfprofiler/perfprofilerplugin.cpp index 087fd0d765..26f2272204 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; diff --git a/src/plugins/perfprofiler/perfprofilerplugin.h b/src/plugins/perfprofiler/perfprofilerplugin.h index 9b80da48b8..9f60f5fa32 100644 --- a/src/plugins/perfprofiler/perfprofilerplugin.h +++ b/src/plugins/perfprofiler/perfprofilerplugin.h @@ -42,7 +42,7 @@ public: bool initialize(const QStringList &arguments, QString *errorString) final; void extensionsInitialized() final; - QList<QObject *> createTestObjects() const final; + QVector<QObject *> createTestObjects() const final; static PerfSettings *globalSettings(); |