Commit a6ead818 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDebugger: Fix connection with older Qt versions



Task-number: QTCREATORBUG-10694
Change-Id: Ib94acfdd00f4e9b44ec5a982f664b8bd982e8eab
Reviewed-by: default avatarAurindam Jana <aurindam.jana@digia.com>
parent 2436bc0b
......@@ -134,7 +134,7 @@ void QmlDebugConnectionPrivate::readyRead()
serverPlugins.insert(pluginNames.at(i), pluginVersion);
}
if (!pack.isEmpty()) {
if (!pack.atEnd()) {
pack >> QmlDebugClient::s_dataStreamVersion;
if (QmlDebugClient::s_dataStreamVersion
> QDataStream().version())
......
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