forked from qt-creator/qt-creator
QmlProfiler: Move parts of model manager and trace file to Timeline
This way we can use the trace file loading and saving mechanism for other profilers. Change-Id: I98ec1cdde6f7abcea152cabf72e64d4e696dfa59 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -132,6 +132,11 @@ void QmlProfilerNotesModel::setNotes(const QVector<QmlNote> ¬es)
|
||||
m_notes = notes;
|
||||
}
|
||||
|
||||
void QmlProfilerNotesModel::addNote(const QmlNote ¬e)
|
||||
{
|
||||
m_notes.append(note);
|
||||
}
|
||||
|
||||
void QmlProfilerNotesModel::clear()
|
||||
{
|
||||
TimelineNotesModel::clear();
|
||||
|
||||
Reference in New Issue
Block a user