forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -149,9 +149,9 @@ QmlProfilerSettings *QmlProfilerPlugin::globalSettings()
|
||||
return qmlProfilerGlobalSettings();
|
||||
}
|
||||
|
||||
QList<QObject *> QmlProfiler::Internal::QmlProfilerPlugin::createTestObjects() const
|
||||
QVector<QObject *> QmlProfiler::Internal::QmlProfilerPlugin::createTestObjects() const
|
||||
{
|
||||
QList<QObject *> tests;
|
||||
QVector<QObject *> tests;
|
||||
#ifdef WITH_TESTS
|
||||
tests << new DebugMessagesModelTest;
|
||||
tests << new FlameGraphModelTest;
|
||||
|
||||
@@ -44,7 +44,7 @@ private:
|
||||
bool initialize(const QStringList &arguments, QString *errorString) final;
|
||||
void extensionsInitialized() final;
|
||||
ShutdownFlag aboutToShutdown() final;
|
||||
QList<QObject *> createTestObjects() const final;
|
||||
QVector<QObject *> createTestObjects() const final;
|
||||
|
||||
class QmlProfilerPluginPrivate *d = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user