aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2024-03-20 15:01:51 +0100
committerEike Ziller <[email protected]>2024-03-20 15:05:58 +0100
commit90e1d96019e49c9c374082cdadd7da72e711e60c (patch)
tree3d572235b52c80017ec91579b5c2272ce5898f90 /src/plugins/debugger/watchhandler.cpp
parentaaf839bcf0e0ee5b77f47fcc47b4c18c2bbe31b3 (diff)
parentf75e26005fc6f6650393fca7c5189305f8938b2f (diff)
Merge remote-tracking branch 'origin/13.0'
Conflicts: cmake/QtCreatorIDEBranding.cmake doc/qtcreator/src/overview/creator-only/creator-keyboard-shortcuts.qdoc qbs/modules/qtc/qtc.qbs src/plugins/remotelinux/linuxdevicetester.cpp Change-Id: I8434e41dcfbb50f6ed032a3e0af1591eb19b79eb
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp4
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;
}