QmlDesigner: Fix typo Chrash > Crash

Change-Id: I9cf55c25cb8c904ef1677376025b9ff6b81f1902
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Tasuku Suzuki
2017-01-06 15:12:44 +09:00
committed by Thomas Hartmann
parent 572b04a00a
commit d6910b9288
2 changed files with 4 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ private: // functions
void delayedRestartProcess(); void delayedRestartProcess();
private slots: private slots:
void handleChrash(); void handleCrash();
private: //variables private: //variables
NodeInstance m_rootNodeInstance; NodeInstance m_rootNodeInstance;

View File

@@ -153,7 +153,7 @@ void NodeInstanceView::modelAttached(Model *model)
AbstractView::modelAttached(model); AbstractView::modelAttached(model);
m_nodeInstanceServer = new NodeInstanceServerProxy(this, m_runModus, m_currentKit, m_currentProject); m_nodeInstanceServer = new NodeInstanceServerProxy(this, m_runModus, m_currentKit, m_currentProject);
m_lastCrashTime.start(); m_lastCrashTime.start();
connect(m_nodeInstanceServer.data(), SIGNAL(processCrashed()), this, SLOT(handleChrash())); connect(m_nodeInstanceServer.data(), SIGNAL(processCrashed()), this, SLOT(handleCrash()));
if (!isSkippedRootNode(rootModelNode())) if (!isSkippedRootNode(rootModelNode()))
nodeInstanceServer()->createScene(createCreateSceneCommand()); nodeInstanceServer()->createScene(createCreateSceneCommand());
@@ -181,7 +181,7 @@ void NodeInstanceView::modelAboutToBeDetached(Model * model)
AbstractView::modelAboutToBeDetached(model); AbstractView::modelAboutToBeDetached(model);
} }
void NodeInstanceView::handleChrash() void NodeInstanceView::handleCrash()
{ {
int elaspsedTimeSinceLastCrash = m_lastCrashTime.restart(); int elaspsedTimeSinceLastCrash = m_lastCrashTime.restart();
int forceRestartTime = 2000; int forceRestartTime = 2000;
@@ -207,7 +207,7 @@ void NodeInstanceView::restartProcess()
delete nodeInstanceServer(); delete nodeInstanceServer();
m_nodeInstanceServer = new NodeInstanceServerProxy(this, m_runModus, m_currentKit, m_currentProject); 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())) if (!isSkippedRootNode(rootModelNode()))
nodeInstanceServer()->createScene(createCreateSceneCommand()); nodeInstanceServer()->createScene(createCreateSceneCommand());