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:
@@ -127,9 +127,9 @@ bool ValgrindPlugin::initialize(const QStringList &, QString *)
|
||||
return true;
|
||||
}
|
||||
|
||||
QList<QObject *> ValgrindPlugin::createTestObjects() const
|
||||
QVector<QObject *> ValgrindPlugin::createTestObjects() const
|
||||
{
|
||||
QList<QObject *> tests;
|
||||
QVector<QObject *> tests;
|
||||
#ifdef WITH_TESTS
|
||||
tests << new Test::ValgrindMemcheckParserTest << new Test::ValgrindTestRunnerTest;
|
||||
#endif
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
void extensionsInitialized() final {}
|
||||
|
||||
private:
|
||||
QList<QObject *> createTestObjects() const override;
|
||||
QVector<QObject *> createTestObjects() const override;
|
||||
|
||||
class ValgrindPluginPrivate *d = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user