forked from qt-creator/qt-creator
QmlProfiler: Move action registration out of QmlProfilerTool
This enables us to have multiple QmlProfilerTool instances without conflicting action registrations. Ultimately there should be a way to unregister actions, or to add some extra description on which tool instance they refer to, but this is a minimal first step. The main problem this fixes for now is the warnings generated by the tests. Change-Id: I2193fc48a5a68c52f46e5567919f3035bc93df36 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -83,6 +83,7 @@ public:
|
||||
QmlEventFilter rangeFilter(qint64 start, qint64 end) const;
|
||||
|
||||
signals:
|
||||
void traceChanged();
|
||||
void typeDetailsChanged(int typeId);
|
||||
void typeDetailsFinished();
|
||||
|
||||
@@ -90,6 +91,8 @@ private:
|
||||
void detailsChanged(int typeId, const QString &newString);
|
||||
void restrictByFilter(QmlEventFilter filter);
|
||||
|
||||
void clearEventStorage() final;
|
||||
|
||||
Timeline::TimelineTraceFile *createTraceFile() override;
|
||||
void replayEvents(TraceEventLoader loader, Initializer initializer, Finalizer finalizer,
|
||||
ErrorHandler errorHandler, QFutureInterface<void> &future) const override;
|
||||
|
||||
Reference in New Issue
Block a user