QmlDesigner.qmlPuppet: try to restart after 2 seconds.

10 seconds were a little bit too long.
This commit is contained in:
Thomas Hartmann
2011-03-24 11:15:04 +01:00
parent 321b3892bc
commit 4995d26e60

View File

@@ -178,7 +178,7 @@ void NodeInstanceView::handleChrash()
{
int elaspsedTimeSinceLastCrash = m_lastCrashTime.restart();
if (elaspsedTimeSinceLastCrash > 10000) {
if (elaspsedTimeSinceLastCrash > 2000) {
restartProcess();
} else {
emitCustomNotification("QmlPuppet crashed");