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:
hjk
2012-07-19 23:35:41 +02:00
parent 728579ef52
commit ebc63659c1

View File

@@ -100,6 +100,8 @@ static QByteArray stripForFormat(const QByteArray &ba)
--inArray;
if (c == ' ')
continue;
if (c == '&') // Treat references like the referenced type.
continue;
if (inArray && c >= '0' && c <= '9')
continue;
res.append(c);