aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlpreview/qmlpreviewplugin.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2019-05-27 14:12:11 +0200
committerEike Ziller <[email protected]>2019-05-27 14:21:00 +0000
commite0b0a08e50cef4c91808e30c2d3d33ee1b0cd0b8 (patch)
treef0f8231b559ea100015eb1dc3029b076dd78399a /src/plugins/qmlpreview/qmlpreviewplugin.cpp
parente846b8717aad09e71650c6ca95b05d320f1eb3f1 (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 <[email protected]>
Diffstat (limited to 'src/plugins/qmlpreview/qmlpreviewplugin.cpp')
-rw-r--r--src/plugins/qmlpreview/qmlpreviewplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlpreview/qmlpreviewplugin.cpp b/src/plugins/qmlpreview/qmlpreviewplugin.cpp
index 732f81ddd11..42e56851ee5 100644
--- a/src/plugins/qmlpreview/qmlpreviewplugin.cpp
+++ b/src/plugins/qmlpreview/qmlpreviewplugin.cpp
@@ -196,9 +196,9 @@ ExtensionSystem::IPlugin::ShutdownFlag QmlPreviewPlugin::aboutToShutdown()
return SynchronousShutdown;
}
-QList<QObject *> QmlPreviewPlugin::createTestObjects() const
+QVector<QObject *> QmlPreviewPlugin::createTestObjects() const
{
- QList<QObject *> tests;
+ QVector<QObject *> tests;
#ifdef WITH_TESTS
tests.append(new QmlPreviewClientTest);
tests.append(new QmlPreviewPluginTest);