forked from qt-creator/qt-creator
debugger: apply custom type display settings also to references
Since a reference is "the same thing" it does not make sense to offer different choices of displays. Change-Id: Id9ee31b6f1a8fcc9ff3a523a055017e781249d18 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -100,6 +100,8 @@ static QByteArray stripForFormat(const QByteArray &ba)
|
|||||||
--inArray;
|
--inArray;
|
||||||
if (c == ' ')
|
if (c == ' ')
|
||||||
continue;
|
continue;
|
||||||
|
if (c == '&') // Treat references like the referenced type.
|
||||||
|
continue;
|
||||||
if (inArray && c >= '0' && c <= '9')
|
if (inArray && c >= '0' && c <= '9')
|
||||||
continue;
|
continue;
|
||||||
res.append(c);
|
res.append(c);
|
||||||
|
Reference in New Issue
Block a user