forked from qt-creator/qt-creator
Debugger: Use Utils::TreeModel for watch window
The circle closes, that's where the code came from. Change-Id: Ic36ab61ec8886c9a2747aeb29a7245df3ef0b6c4 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -156,6 +156,15 @@ bool WatchData::isEqual(const WatchData &other) const
|
||||
&& error == other.error;
|
||||
}
|
||||
|
||||
bool WatchData::isAncestorOf(const QByteArray &childIName) const
|
||||
{
|
||||
if (iname.size() >= childIName.size())
|
||||
return false;
|
||||
if (!childIName.startsWith(iname))
|
||||
return false;
|
||||
return childIName.at(iname.size()) == '.';
|
||||
}
|
||||
|
||||
bool WatchData::isVTablePointer() const
|
||||
{
|
||||
// First case: Cdb only. No user type can be named like this, this is safe.
|
||||
|
||||
Reference in New Issue
Block a user