forked from qt-creator/qt-creator
Debugger: Remove unusued WatchData::displayType member
Change-Id: I475c5f6ee90434a6e85342d8bb71bd10a04dd27b Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user