Commit 72f221c0 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: String usage fix.

Change-Id: Ia1fb09dee055f2507494b9666da7a6ada1103296
Reviewed-on: http://codereview.qt-project.org/5710

Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent c4f7b0c7
...@@ -1202,7 +1202,7 @@ void DebuggerPluginPrivate::maybeEnrichParameters(DebuggerStartParameters *sp) ...@@ -1202,7 +1202,7 @@ void DebuggerPluginPrivate::maybeEnrichParameters(DebuggerStartParameters *sp)
sp->sysroot = QString::fromLocal8Bit(qgetenv("QTC_DEBUGGER_SYSROOT")); sp->sysroot = QString::fromLocal8Bit(qgetenv("QTC_DEBUGGER_SYSROOT"));
//if (sp->sysroot.isEmpty()) //if (sp->sysroot.isEmpty())
// sp->sysroot = debuggerCore()->configValue(_("LastSysroot")).toString(); // sp->sysroot = debuggerCore()->configValue(_("LastSysroot")).toString();
showMessage("### USING FAKE SYSROOT ###" + sp->sysroot.toLocal8Bit(), LogWarning); showMessage(QLatin1String("### USING FAKE SYSROOT ###") + sp->sysroot, LogWarning);
} }
if (sp->debugInfoLocation.isEmpty()) if (sp->debugInfoLocation.isEmpty())
sp->debugInfoLocation = sp->sysroot + "/usr/lib/debug"; sp->debugInfoLocation = sp->sysroot + "/usr/lib/debug";
......
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