forked from qt-creator/qt-creator
QmlDesigner: Fix typo Chrash > Crash
Change-Id: I9cf55c25cb8c904ef1677376025b9ff6b81f1902 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
572b04a00a
commit
d6910b9288
@@ -188,7 +188,7 @@ private: // functions
|
||||
void delayedRestartProcess();
|
||||
|
||||
private slots:
|
||||
void handleChrash();
|
||||
void handleCrash();
|
||||
|
||||
private: //variables
|
||||
NodeInstance m_rootNodeInstance;
|
||||
|
@@ -153,7 +153,7 @@ void NodeInstanceView::modelAttached(Model *model)
|
||||
AbstractView::modelAttached(model);
|
||||
m_nodeInstanceServer = new NodeInstanceServerProxy(this, m_runModus, m_currentKit, m_currentProject);
|
||||
m_lastCrashTime.start();
|
||||
connect(m_nodeInstanceServer.data(), SIGNAL(processCrashed()), this, SLOT(handleChrash()));
|
||||
connect(m_nodeInstanceServer.data(), SIGNAL(processCrashed()), this, SLOT(handleCrash()));
|
||||
|
||||
if (!isSkippedRootNode(rootModelNode()))
|
||||
nodeInstanceServer()->createScene(createCreateSceneCommand());
|
||||
@@ -181,7 +181,7 @@ void NodeInstanceView::modelAboutToBeDetached(Model * model)
|
||||
AbstractView::modelAboutToBeDetached(model);
|
||||
}
|
||||
|
||||
void NodeInstanceView::handleChrash()
|
||||
void NodeInstanceView::handleCrash()
|
||||
{
|
||||
int elaspsedTimeSinceLastCrash = m_lastCrashTime.restart();
|
||||
int forceRestartTime = 2000;
|
||||
@@ -207,7 +207,7 @@ void NodeInstanceView::restartProcess()
|
||||
delete nodeInstanceServer();
|
||||
|
||||
m_nodeInstanceServer = new NodeInstanceServerProxy(this, m_runModus, m_currentKit, m_currentProject);
|
||||
connect(m_nodeInstanceServer.data(), SIGNAL(processCrashed()), this, SLOT(handleChrash()));
|
||||
connect(m_nodeInstanceServer.data(), SIGNAL(processCrashed()), this, SLOT(handleCrash()));
|
||||
|
||||
if (!isSkippedRootNode(rootModelNode()))
|
||||
nodeInstanceServer()->createScene(createCreateSceneCommand());
|
||||
|
Reference in New Issue
Block a user