From 5d0e8f5f4018519b60d202ed3fc31291da39d9b1 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 20 May 2014 13:33:08 +0200 Subject: QmlDesigner.Instances: Changing qDebug to qWarning A crash of the puppet is kind of expected and we should use qWarning. Showing the error code might be useful in some cases. Change-Id: I52b2c3bc727fa7040f931b1cc1eee3545ef5554e Reviewed-by: Marco Bubke --- .../qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp b/src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp index b6c1acf4a5..7eb38a32fe 100644 --- a/src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp +++ b/src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp @@ -313,9 +313,9 @@ void NodeInstanceServerProxy::writeCommand(const QVariant &command) } } -void NodeInstanceServerProxy::processFinished(int /*exitCode*/, QProcess::ExitStatus exitStatus) +void NodeInstanceServerProxy::processFinished(int exitCode, QProcess::ExitStatus exitStatus) { - qDebug() << "Process finished:" << sender(); + qWarning() << "Process finished:" << sender() << exitCode; if (m_captureFileForTest.isOpen()) { m_captureFileForTest.close(); -- cgit v1.2.1