forked from qt-creator/qt-creator
Debugger: Save one loop cycle for struct watches
Change-Id: I039dd5f32d4a1e25f1c3a6a7cec78ebdfb3f5e68 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
2b7f87d212
commit
f7bcf2813c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user