forked from qt-creator/qt-creator
Debugger: Fix display of fields in returned value
Change-Id: Ic69ea19f4ea5b73f846d02765454f41cd3588133 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
ec3695be89
commit
7a6b1114f2
@@ -727,7 +727,7 @@ QString WatchItem::displayName() const
|
|||||||
QString result;
|
QString result;
|
||||||
if (!parentItem())
|
if (!parentItem())
|
||||||
return result;
|
return result;
|
||||||
if (iname.startsWith("return"))
|
if (iname.startsWith("return") && name.startsWith(QLatin1Char('$')))
|
||||||
result = WatchModel::tr("returned value");
|
result = WatchModel::tr("returned value");
|
||||||
else if (name == QLatin1String("*"))
|
else if (name == QLatin1String("*"))
|
||||||
result = QLatin1Char('*') + parentItem()->name;
|
result = QLatin1Char('*') + parentItem()->name;
|
||||||
|
|||||||
Reference in New Issue
Block a user