forked from qt-creator/qt-creator
Debugger: Use TypedTreeItem's typed parent ability for WatchItems
Less "user code". Change-Id: Idf4e0a950761bd0184f2844c45415d5bdb8cd51a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -39,7 +39,7 @@ namespace Internal {
|
||||
|
||||
class GdbMi;
|
||||
|
||||
class WatchItem : public Utils::TypedTreeItem<WatchItem>
|
||||
class WatchItem : public Utils::TypedTreeItem<WatchItem, WatchItem>
|
||||
{
|
||||
public:
|
||||
WatchItem();
|
||||
@@ -58,8 +58,6 @@ public:
|
||||
QVariant editValue() const;
|
||||
int editType() const;
|
||||
|
||||
WatchItem *parentItem() const;
|
||||
|
||||
static const qint64 InvalidId = -1;
|
||||
|
||||
void setHasChildren(bool c) { wantsChildren = c; }
|
||||
|
||||
Reference in New Issue
Block a user