diff options
author | hjk <[email protected]> | 2018-03-08 15:13:42 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2018-03-08 14:45:01 +0000 |
commit | c050d916ce8ca865cb5e70d760fe86b0386ba420 (patch) | |
tree | 7f8c35bf636ec7b361b26830d9fa0358857f87eb /src/plugins/debugger/watchhandler.cpp | |
parent | 2626e1629f639bcd5be712fc51a1b76f1f3a731c (diff) |
Debugger: Use TypedTreeItem's typed parent ability for WatchItems
Less "user code".
Change-Id: Idf4e0a950761bd0184f2844c45415d5bdb8cd51a
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index bfd299093ad..34212434ea3 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -829,7 +829,7 @@ static QString displayName(const WatchItem *item) { QString result; - const WatchItem *p = item->parentItem(); + const WatchItem *p = item->parent(); if (!p) return result; if (item->arrayIndex >= 0) { |