forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user