forked from qt-creator/qt-creator
QmlDesigner.qmlPuppet: try to restart after 2 seconds.
10 seconds were a little bit too long.
This commit is contained in:
@@ -178,7 +178,7 @@ void NodeInstanceView::handleChrash()
|
||||
{
|
||||
int elaspsedTimeSinceLastCrash = m_lastCrashTime.restart();
|
||||
|
||||
if (elaspsedTimeSinceLastCrash > 10000) {
|
||||
if (elaspsedTimeSinceLastCrash > 2000) {
|
||||
restartProcess();
|
||||
} else {
|
||||
emitCustomNotification("QmlPuppet crashed");
|
||||
|
Reference in New Issue
Block a user