Skip to content
Snippets Groups Projects
Commit 80c1e74a authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Change Assert in exit

Change-Id: I9a19ab772db406b0b1e6f9b76b997dcee17bccbf
Reviewed-on: http://codereview.qt-project.org/5244


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 06a2a46f
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment