diff options
author | Ulf Hermann <[email protected]> | 2018-03-27 16:45:42 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2018-04-17 09:14:09 +0000 |
commit | e0ba6f91ceac6e1fed5b143d39cebffc78f07245 (patch) | |
tree | 7812926b118c849163f0575329f197d15c1ce36c /src/plugins/qmlprofiler/qmlprofilertraceview.cpp | |
parent | 1ccd058bdfbd6334dfe09d23ac85b7de0cfa1ff1 (diff) |
Timeline: Add stash() and restore() methods to notes model
Those are needed when manipulating the model in a way that may change
the indices, like restricting to a range or filtering by categories.
Change-Id: I9f218d269cf23104c306960ef77c0fc41591daa1
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertraceview.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertraceview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertraceview.cpp b/src/plugins/qmlprofiler/qmlprofilertraceview.cpp index 9129e753136..5846a6b67b7 100644 --- a/src/plugins/qmlprofiler/qmlprofilertraceview.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertraceview.cpp @@ -108,7 +108,7 @@ QmlProfilerTraceView::QmlProfilerTraceView(QWidget *parent, QmlProfilerViewManag case QmlProfilerModelManager::Empty: d->m_modelProxy->setModels(d->m_suspendedModels); d->m_suspendedModels.clear(); - d->m_modelManager->notesModel()->loadData(); + d->m_modelManager->notesModel()->restore(); break; case QmlProfilerModelManager::ClearingData: d->m_zoomControl->clear(); |