forked from qt-creator/qt-creator
QmlDesigner: Language
Change-Id: I566d43144ce8ace585099041f63f3a2c9e1009d7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
@@ -101,8 +101,8 @@ static bool hasQtQuick1(NodeInstanceView *nodeInstanceView)
|
|||||||
static void showCannotConnectToPuppetWarningAndSwitchToEditMode()
|
static void showCannotConnectToPuppetWarningAndSwitchToEditMode()
|
||||||
{
|
{
|
||||||
QmlDesignerWarning::show(QCoreApplication::translate("NodeInstanceServerProxy", "Cannot Connect to QML Emulation Layer (QML Puppet)"),
|
QmlDesignerWarning::show(QCoreApplication::translate("NodeInstanceServerProxy", "Cannot Connect to QML Emulation Layer (QML Puppet)"),
|
||||||
QCoreApplication::translate("NodeInstanceServerProxy", "The executable of the QML emulation layer (QML Puppet) process is maybe hanging. "
|
QCoreApplication::translate("NodeInstanceServerProxy", "The executable of the QML emulation layer (QML Puppet) may not be responding. "
|
||||||
"Switching to an other kit maybe helps."));
|
"Switching to another kit might help."));
|
||||||
|
|
||||||
QmlDesignerPlugin::instance()->switchToTextModeDeferred();
|
QmlDesignerPlugin::instance()->switchToTextModeDeferred();
|
||||||
|
|
||||||
@@ -201,7 +201,7 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
QmlDesignerWarning::show(tr("Cannot Start QML Emulation Layer (QML Puppet)"),
|
QmlDesignerWarning::show(tr("Cannot Start QML Emulation Layer (QML Puppet)"),
|
||||||
tr("The executable of the QML emulation layer (QML Puppet) process cannot be started or is hanging."));
|
tr("The executable of the QML emulation layer (QML Puppet) process cannot be started or does not respond."));
|
||||||
|
|
||||||
QmlDesignerPlugin::instance()->switchToTextModeDeferred();
|
QmlDesignerPlugin::instance()->switchToTextModeDeferred();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user