forked from qt-creator/qt-creator
ScxmlEditor: Modernize
modernize-* Change-Id: I72a72cf5e9327956fdc0e5fc6f552bfc03d2122c Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
@@ -36,7 +36,7 @@ void AttributeItemModel::setTag(ScxmlTag *tag)
|
||||
{
|
||||
beginResetModel();
|
||||
m_tag = tag;
|
||||
m_document = m_tag ? m_tag->document() : 0;
|
||||
m_document = m_tag ? m_tag->document() : nullptr;
|
||||
endResetModel();
|
||||
emit layoutChanged();
|
||||
emit dataChanged(QModelIndex(), QModelIndex());
|
||||
|
||||
Reference in New Issue
Block a user