forked from qt-creator/qt-creator
QmlProfiler: Make members of QmlNote private
The only member that can change after initialization is the text. Change-Id: I6958f510e67c9fd6fe1f109c2676f80d93e7fd0c Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -30,12 +30,12 @@ namespace QmlProfiler {
|
||||
|
||||
QDataStream &operator>>(QDataStream &stream, QmlNote ¬e)
|
||||
{
|
||||
return stream >> note.typeIndex >> note.startTime >> note.duration >> note.text;
|
||||
return stream >> note.m_typeIndex >> note.m_startTime >> note.m_duration >> note.m_text;
|
||||
}
|
||||
|
||||
QDataStream &operator<<(QDataStream &stream, const QmlNote ¬e)
|
||||
{
|
||||
return stream << note.typeIndex << note.startTime << note.duration << note.text;
|
||||
return stream << note.m_typeIndex << note.m_startTime << note.m_duration << note.m_text;
|
||||
}
|
||||
|
||||
} // namespace QmlProfiler
|
||||
|
||||
Reference in New Issue
Block a user