diff --git a/src/plugins/debugger/watchdata.cpp b/src/plugins/debugger/watchdata.cpp index 3eb90c54d51..96421d1bcf7 100644 --- a/src/plugins/debugger/watchdata.cpp +++ b/src/plugins/debugger/watchdata.cpp @@ -213,7 +213,7 @@ void WatchItem::setType(const QByteArray &str, bool guessChildrenFromType) else if (type.startsWith("class ")) type = type.mid(6); else if (type.startsWith("struct ")) - type = type.mid(6); + type = type.mid(7); else if (type.startsWith(' ')) type = type.mid(1); else