forked from qt-creator/qt-creator
QmlOutline: Show icons for known types
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include "qmljsoutline.h"
|
||||
#include "qmljspreviewrunner.h"
|
||||
#include "qmljsquickfix.h"
|
||||
#include "qmljs/qmljsicons.h"
|
||||
|
||||
#include <qmldesigner/qmldesignerconstants.h>
|
||||
|
||||
@@ -186,6 +187,13 @@ void QmlJSEditorPlugin::extensionsInitialized()
|
||||
{
|
||||
}
|
||||
|
||||
ExtensionSystem::IPlugin::ShutdownFlag QmlJSEditorPlugin::aboutToShutdown()
|
||||
{
|
||||
delete QmlJS::Icons::instance(); // delete object held by singleton
|
||||
|
||||
return IPlugin::aboutToShutdown();
|
||||
}
|
||||
|
||||
void QmlJSEditorPlugin::openPreview()
|
||||
{
|
||||
Core::EditorManager *em = Core::EditorManager::instance();
|
||||
|
||||
Reference in New Issue
Block a user