diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index 0dbe634618be37755eafe90d6b4e85a62d7e4cc4..7a3b7361c6e38a2868a7ecbe5d2a8fa9df648b00 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -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