Commit 7a93e643 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Notify for a crashed process

parent c7e2c488
......@@ -178,8 +178,11 @@ void NodeInstanceView::handleChrash()
{
int elaspsedTimeSinceLastCrash = m_lastCrashTime.restart();
if (elaspsedTimeSinceLastCrash > 10000)
if (elaspsedTimeSinceLastCrash > 10000) {
restartProcess();
} else {
emitCustomNotification("QmlPuppet crashed");
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment