forked from qt-creator/qt-creator
debugger: show the returned value as 'returned value', not $23
Task-number: QTCREATORBUG-6894 Change-Id: Ia5d666f2f403eddbbf027a0ac7ac5a708e2425c1 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -734,8 +734,10 @@ QString WatchModel::display(const WatchItem *item, int col) const
|
||||
QString result;
|
||||
switch (col) {
|
||||
case 0:
|
||||
if (item->name.isEmpty())
|
||||
if (m_type == WatchersWatch && item->name.isEmpty())
|
||||
result = tr("<Edit>");
|
||||
else if (m_type == ReturnWatch && item->iname.count('.') == 1)
|
||||
result = tr("returned value");
|
||||
else if (item->name == QLatin1String("*") && item->parent)
|
||||
result = QLatin1Char('*') + item->parent->name;
|
||||
else
|
||||
|
Reference in New Issue
Block a user