Commit 84b62aa2 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix build.

Revert part of 3dac9bd4

.

Change-Id: I2af57e609b0554d1f8f2c361813068a6ca7c14e8
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 5849eae9
......@@ -1232,9 +1232,7 @@ void DebuggerToolTipManager::loadSessionData()
r.readNextStartElement();
if (r.tokenType() != QXmlStreamReader::StartElement || r.name() != QLatin1String(sessionDocumentC))
return;
const double version;
if (debugToolTips)
version = r.attributes().value(QLatin1String(sessionVersionAttributeC)).toString().toDouble();
const double version = r.attributes().value(QLatin1String(sessionVersionAttributeC)).toString().toDouble();
while (!r.atEnd())
if (DebuggerToolTipWidget *tw = DebuggerToolTipWidget::loadSessionData(r))
registerToolTip(tw);
......
Supports Markdown
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