diff --git a/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.h b/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.h index d5dcf6e773c..c308cd8a5cc 100644 --- a/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.h +++ b/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.h @@ -46,19 +46,18 @@ public: void requestDetailsForLocation(int typeId, const QmlEventLocation &location); QString getLocalFile(const QString &remoteFile); void reloadDocuments(); - void documentReady(QmlJS::Document::Ptr doc); void populateFileFinder(const ProjectExplorer::RunConfiguration *runConfiguration); - struct PendingEvent { - QmlEventLocation location; - int typeId; - }; - signals: void rewriteDetailsString(int typeId, const QString &details); void eventDetailsChanged(); private: + struct PendingEvent { + QmlEventLocation location; + int typeId; + }; + QMultiHash m_pendingEvents; Utils::FileInProjectFinder m_projectFinder; QHash m_filesCache; @@ -67,6 +66,9 @@ private: const QmlEventLocation &location); void connectQmlModel(); void disconnectQmlModel(); + void documentReady(QmlJS::Document::Ptr doc); + + friend class QTypeInfo; }; } // namespace Internal