Debugger: Revert parts of the 'arrayIndex' optimization

The parent's address is not always the base address of the array
data, but often a wrapper like QVector, so the correct computation
of the item's address is more involved, removing the benefits of
the optimization.

Change-Id: Iecb19799addc1502649fefbad0953b77947f4193
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2016-06-03 15:58:19 +02:00
parent b50e9e546f
commit 023b78545f
2 changed files with 78 additions and 68 deletions

View File

@@ -53,7 +53,6 @@ public:
QString expression() const;
QString realName() const;
quint64 realAddress() const;
QByteArray internalName() const;
QString toToolTip() const;