forked from qt-creator/qt-creator
QmlProfiler: Unify source file lookup between V8 and QML models
They should both look up the source details when loading data and they shouldn't do that again on gotoSourceLocation. Change-Id: I433a4ff36a314822dff320ba4c8f398a6e3eaee3 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -161,7 +161,7 @@ QmlProfilerModelManager::QmlProfilerModelManager(Utils::FileInProjectFinder *fin
|
||||
{
|
||||
d->totalWeight = 0;
|
||||
d->model = new QmlProfilerProcessedModel(finder, this);
|
||||
d->v8Model = new QV8ProfilerDataModel(this);
|
||||
d->v8Model = new QV8ProfilerDataModel(finder, this);
|
||||
// d->model = new QmlProfilerSimpleModel(this);
|
||||
d->dataState = new QmlProfilerDataState(this, this);
|
||||
d->traceTime = new QmlProfilerTraceTime(this);
|
||||
|
Reference in New Issue
Block a user