forked from qt-creator/qt-creator
QmlDesigner: Remove unused custom notification
This notification is only for debugging and breaks encapsulation. Change-Id: I20faeb76d24cc42417b3cc2e289041c70edd6157 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -422,10 +422,7 @@ void DebugView::instancesChildrenChanged(const QVector<ModelNode> & nodeList)
|
||||
|
||||
void DebugView::customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data)
|
||||
{
|
||||
if (identifier == "PuppetStatus" && data.count() == 1) {
|
||||
m_debugViewWidget->setPuppetStatus(data.constFirst().toString());
|
||||
|
||||
} else if (isDebugViewEnabled()) {
|
||||
if (isDebugViewEnabled()) {
|
||||
QTextStream message;
|
||||
QString string;
|
||||
message.setString(&string);
|
||||
|
@@ -495,9 +495,6 @@ QProcessEnvironment PuppetCreator::processEnvironment() const
|
||||
}
|
||||
|
||||
#ifndef QMLDESIGNER_TEST
|
||||
auto view = QmlDesignerPlugin::instance()->viewManager().nodeInstanceView();
|
||||
view->emitCustomNotification("PuppetStatus", {}, {QVariant(m_qrcMapping)});
|
||||
|
||||
// set env var if QtQuick3D import exists
|
||||
QmlDesigner::Import import = QmlDesigner::Import::createLibraryImport("QtQuick3D", "1.0");
|
||||
if (m_model->hasImport(import, true, true))
|
||||
|
Reference in New Issue
Block a user