Commit 80c1e74a authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.NodeInstances: Change Assert in exit

Change-Id: I9a19ab772db406b0b1e6f9b76b997dcee17bccbf
Reviewed-on: http://codereview.qt-project.org/5244Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 06a2a46f
......@@ -184,7 +184,10 @@ void NodeInstanceClientProxy::readDataStream()
in >> command;
m_blockSize = 0;
Q_ASSERT(in.status() == QDataStream::Ok);
if (in.status() != QDataStream::Ok) {
qWarning() << "Stream is no ok!!!";
exit(1);
}
commandList.append(command);
}
......
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