aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilertextmark.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-05-29 18:04:07 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-05-30 07:49:38 +0000
commit5e66f834e3a0ded8f6124f7b04aedbaf846cabd6 (patch)
tree5062e78ba5f41828c0858bb4ff097053648bf181 /src/plugins/qmlprofiler/qmlprofilertextmark.h
parentfe09fc239c7a12b5bb7f929ec6ed24b6aab89669 (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.h3
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;