Tests: Fix nullptr access in QmlDesigner tests

This is just a hot fix and will be replaced later on.

Change-Id: I63fb5dcadc965ca2e9ade67b0b748f7abb011aff
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Christian Stenger
2021-07-14 13:04:54 +02:00
parent e030d04892
commit 4d8d91647e

View File

@@ -29,6 +29,8 @@
#include <QtTest> #include <QtTest>
#include <extensionsystem/pluginmanager.h>
class tst_TestCore : public QObject class tst_TestCore : public QObject
{ {
@@ -237,4 +239,7 @@ private slots:
// QMLAnnotations // QMLAnnotations
void writeAnnotations(); void writeAnnotations();
void readAnnotations(); void readAnnotations();
private:
ExtensionSystem::PluginManager pm; // FIXME remove
}; };