forked from qt-creator/qt-creator
QmlProfiler: Make members of QmlEventLocation private
You should not change them independently as that is error-prone. Change-Id: I07890a29b045492fe804b9537094dea763bc1b8d Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -30,12 +30,12 @@ namespace QmlProfiler {
|
||||
|
||||
QDataStream &operator>>(QDataStream &stream, QmlEventLocation &location)
|
||||
{
|
||||
return stream >> location.filename >> location.line >> location.column;
|
||||
return stream >> location.m_filename >> location.m_line >> location.m_column;
|
||||
}
|
||||
|
||||
QDataStream &operator<<(QDataStream &stream, const QmlEventLocation &location)
|
||||
{
|
||||
return stream << location.filename << location.line << location.column;
|
||||
return stream << location.m_filename << location.m_line << location.m_column;
|
||||
}
|
||||
|
||||
} // namespace QmlProfiler
|
||||
|
||||
Reference in New Issue
Block a user