Debugger: Remove unusued WatchData::displayType member

Change-Id: I475c5f6ee90434a6e85342d8bb71bd10a04dd27b
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
hjk
2015-12-16 17:17:38 +01:00
parent 86f3194cc1
commit beb561b8cc
3 changed files with 1 additions and 17 deletions

View File

@@ -319,8 +319,6 @@ QString WatchData::toToolTip() const
formatToolTipRow(str, tr("Name"), name);
formatToolTipRow(str, tr("Expression"), QLatin1String(exp));
formatToolTipRow(str, tr("Internal Type"), QLatin1String(type));
if (!displayedType.isEmpty())
formatToolTipRow(str, tr("Displayed Type"), displayedType);
bool ok;
const quint64 intValue = value.toULongLong(&ok);
if (ok && intValue) {
@@ -445,19 +443,12 @@ static void setWatchDataSize(WatchData &data, const GdbMi &mi)
}
}
// Find the "type" and "displayedtype" children of root and set up type.
void WatchData::updateType(const GdbMi &item)
{
if (item.isValid())
setType(item.data());
}
void WatchData::updateDisplayedType(const GdbMi &item)
{
if (item.isValid())
displayedType = QString::fromLatin1(item.data());
}
// Utilities to decode string data returned by the dumper helpers.
template <class T>