forked from qt-creator/qt-creator
Fix crash on startup
Even in Magic Land it's a good idea to have an upper bound of one on the number of instances of a singleton types. Task-number: QTCREATORBUG-8578 Change-Id: I5c426493b85e0df9e2460ac2ef8f530be2847236 Reviewed-by: Marco Bubke <marco.bubke@digia.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -31,11 +31,10 @@
|
||||
#define QMLDESIGNERPLUGIN_H
|
||||
|
||||
#include <qmldesigner/designersettings.h>
|
||||
#include <qmldesigner/components/pluginmanager/pluginmanager.h>
|
||||
|
||||
#include <extensionsystem/iplugin.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <QWeakPointer>
|
||||
#include <QStringList>
|
||||
|
||||
@@ -89,7 +88,7 @@ private:
|
||||
QStringList m_mimeTypes;
|
||||
DesignModeWidget *m_mainWidget;
|
||||
|
||||
ExtensionSystem::PluginManager m_pluginManager;
|
||||
QmlDesigner::PluginManager m_pluginManager;
|
||||
static BauhausPlugin *m_pluginInstance;
|
||||
DesignerSettings m_settings;
|
||||
DesignModeContext *m_context;
|
||||
|
Reference in New Issue
Block a user