Fixed compile problem on MacOS.

This commit is contained in:
Erik Verbruggen
2009-06-23 11:03:13 +02:00
parent f790d9ce29
commit 4b6130fe39

View File

@@ -3561,7 +3561,7 @@ void GdbEngine::setLocals(const QList<GdbMi> &locals)
QString nam = _(name);
data.iname = _("local.") + nam + QString::number(n + 1);
//: Variable %1 is the variable name, %2 is a simple count
data.name = tr("%1 <shadowed %2>").arg(name).arg(n);
data.name = tr("%1 <shadowed %2>").arg(nam).arg(n);
setWatchDataValue(data, item.findChild("value"));
//: Type of local variable or parameter shadowed by another
//variable of the same name in a nested block