Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -53,11 +53,11 @@ Core::Id IAnalyzerTool::defaultActionId(const IAnalyzerTool *tool, StartMode mod ...@@ -53,11 +53,11 @@ Core::Id IAnalyzerTool::defaultActionId(const IAnalyzerTool *tool, StartMode mod
Core::Id id = tool->id(); Core::Id id = tool->id();
switch (mode) { switch (mode) {
case Analyzer::StartLocal: case Analyzer::StartLocal:
return Core::Id(("Analyzer." + id.name() + ".Local").data()); return Core::Id(QLatin1String("Analyzer.") + id.name() + QLatin1String(".Local"));
case Analyzer::StartRemote: case Analyzer::StartRemote:
return Core::Id(("Analyzer." + id.name() + ".Remote").data()); return Core::Id(QLatin1String("Analyzer.") + id.name() + QLatin1String(".Remote"));
case Analyzer::StartQml: case Analyzer::StartQml:
return Core::Id(("Analyzer." + id.name() + ".Qml").data()); return Core::Id(QLatin1String("Analyzer.") + id.name() + QLatin1String(".Qml"));
} }
return Core::Id(); return Core::Id();
} }
......
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