Commit 26ae954f authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Compile fix with Qt 4.8



Compile error with Qt 4.8 msvc:
error C2039: 'data' : is not a member of 'QStringBuilder'

Change-Id: I7d8f299529852c891378f232082ba48f47cc5da3
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 584ac02a
......@@ -53,11 +53,11 @@ Core::Id IAnalyzerTool::defaultActionId(const IAnalyzerTool *tool, StartMode mod
Core::Id id = tool->id();
switch (mode) {
case Analyzer::StartLocal:
return Core::Id(("Analyzer." + id.name() + ".Local").data());
return Core::Id(QLatin1String("Analyzer.") + id.name() + QLatin1String(".Local"));
case Analyzer::StartRemote:
return Core::Id(("Analyzer." + id.name() + ".Remote").data());
return Core::Id(QLatin1String("Analyzer.") + id.name() + QLatin1String(".Remote"));
case Analyzer::StartQml:
return Core::Id(("Analyzer." + id.name() + ".Qml").data());
return Core::Id(QLatin1String("Analyzer.") + id.name() + QLatin1String(".Qml"));
}
return Core::Id();
}
......
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