diff options
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index 987122fcf24..0cc67f54161 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -959,8 +959,10 @@ static QString displayType(const WatchItem *item) result += QString(":%1").arg(item->bitsize); result.remove('\''); result = watchModel(item)->removeNamespaces(result); - if (item->valuelen > 0) + if (item->valuelen > 0) { + //: <type> of length <number>, e.g. for strings and byte arrays result = Tr::tr("%1 of length %2").arg(result).arg(item->valuelen); + } return result; } |