forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user