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

@@ -725,9 +725,7 @@ QString WatchItem::displayValue() const
QString WatchItem::displayType() const
{
QString result = displayedType.isEmpty()
? niceTypeHelper(type)
: displayedType;
QString result = niceTypeHelper(type);
if (bitsize)
result += QString::fromLatin1(":%1").arg(bitsize);
result.remove(QLatin1Char('\''));
@@ -776,9 +774,6 @@ QVariant WatchItem::data(int column, int role) const
case 1:
return editValue();
case 2:
// FIXME:: To be tested: Can debuggers handle those?
if (!displayedType.isEmpty())
return displayedType;
return QString::fromUtf8(type);
}
}