diff options
author | Ulf Hermann <[email protected]> | 2014-02-18 12:47:23 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2014-02-19 15:26:31 +0100 |
commit | 133199a033a485bb8b9998004b88fbc42d7927c3 (patch) | |
tree | 670a4644811f18fef5c6f7c220318d7021421f7f /src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp | |
parent | 4bfa5d62e0ba13fe11d659c598502364f3c64eaa (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp index f218e78ea12..e9cc9769cfe 100644 --- a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp +++ b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp @@ -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); |