Debugger: Use Utils::TreeModel as base for StackHandler

Change-Id: I3fcc1b3a149f15cf414a1560d91145b623e40c63
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2019-06-24 12:28:07 +02:00
parent 33fde35c19
commit 0d49c2cd2c
7 changed files with 87 additions and 80 deletions

View File

@@ -663,7 +663,9 @@ void QmlEngine::activateFrame(int index)
return;
stackHandler()->setCurrentIndex(index);
gotoLocation(stackHandler()->frames().value(index));
auto frameItem = stackHandler()->rootItem()->childAt(index);
QTC_ASSERT(frameItem, return);
gotoLocation(frameItem->frame);
d->updateLocals();
}