Commit fa941e1e authored by Marco Bubke's avatar Marco Bubke Committed by Tim Jenssen

QmlDesigner: Don't restart the puppet with debugger attached

The debugger is stopping the alive commands so the puppet is restarted.

Change-Id: I80e8f0ea4d47dd49e15f41471410dded33355579
Reviewed-by: default avatarTim Jenssen <tim.jenssen@digia.com>
parent b4e251fd
......@@ -196,9 +196,11 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
m_secondTimer.setInterval(3000);
m_thirdTimer.setInterval(3000);
connect(&m_firstTimer, SIGNAL(timeout()), this, SLOT(processFinished()));
connect(&m_secondTimer, SIGNAL(timeout()), this, SLOT(processFinished()));
connect(&m_thirdTimer, SIGNAL(timeout()), this, SLOT(processFinished()));
if (qgetenv("DEBUG_QML_PUPPET").isEmpty()) {
connect(&m_firstTimer, SIGNAL(timeout()), this, SLOT(processFinished()));
connect(&m_secondTimer, SIGNAL(timeout()), this, SLOT(processFinished()));
connect(&m_thirdTimer, SIGNAL(timeout()), this, SLOT(processFinished()));
}
}
NodeInstanceServerProxy::~NodeInstanceServerProxy()
......
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