diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-05-29 18:04:07 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-05-30 07:49:38 +0000 |
commit | 5e66f834e3a0ded8f6124f7b04aedbaf846cabd6 (patch) | |
tree | 5062e78ba5f41828c0858bb4ff097053648bf181 /src/plugins/qmlprofiler/qmlprofilertextmark.h | |
parent | fe09fc239c7a12b5bb7f929ec6ed24b6aab89669 (diff) |
QmlProfiler: Keep text marks when replaying events
The text marks are conceptually part of the type storage, not the event
storage. We need to hide them on initialize and show them again on
finalize, though, so that they get updated.
Task-number: QTCREATORBUG-20506
Change-Id: I5fe50110b99ea81b9a7585758a30fcad98bfcaa3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertextmark.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertextmark.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertextmark.h b/src/plugins/qmlprofiler/qmlprofilertextmark.h index 09beb9bf88a..8ed4576ea19 100644 --- a/src/plugins/qmlprofiler/qmlprofilertextmark.h +++ b/src/plugins/qmlprofiler/qmlprofilertextmark.h @@ -59,6 +59,9 @@ public: void addTextMarkId(int typeId, const QmlEventLocation &location); void createMarks(QmlProfilerViewManager *viewManager, const QString &fileName); + void showTextMarks(); + void hideTextMarks(); + private: struct TextMarkId { int typeId; |