Commit 36845858 authored by Ulf Hermann's avatar Ulf Hermann
Browse files

QmlProfiler: clear model manager only after saving the notes



The notes model wants to resolve IDs from timeline models when saving.

Change-Id: I02c6038c8519101f36db95183bfa05d01a531b97
Reviewed-by: Joerg Bornemann's avatarJoerg Bornemann <joerg.bornemann@qt.io>
parent c81ed0bf
......@@ -442,8 +442,8 @@ void QmlProfilerModelManager::clear()
void QmlProfilerModelManager::restrictToRange(qint64 startTime, qint64 endTime)
{
setState(ClearingData);
d->notesModel->saveData();
setState(ClearingData);
setVisibleFeatures(0);
startAcquiring();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment