forked from qt-creator/qt-creator
QmlProfiler: Add data stream operators for QmlEvent
We try to further compress the QML events when saving as we can use the additional space in that case. Change-Id: Ida308963685169d1daabd7936612628fd4d265ae Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -292,8 +292,14 @@ private:
|
||||
if (m_dataType & External)
|
||||
free(m_data.external);
|
||||
}
|
||||
|
||||
friend QDataStream &operator>>(QDataStream &stream, QmlEvent &event);
|
||||
friend QDataStream &operator<<(QDataStream &stream, const QmlEvent &event);
|
||||
};
|
||||
|
||||
QDataStream &operator>>(QDataStream &stream, QmlEvent &event);
|
||||
QDataStream &operator<<(QDataStream &stream, const QmlEvent &event);
|
||||
|
||||
} // namespace QmlProfiler
|
||||
|
||||
Q_DECLARE_METATYPE(QmlProfiler::QmlEvent)
|
||||
|
||||
Reference in New Issue
Block a user