Commit e84647ae authored by Debao Zhang's avatar Debao Zhang Committed by Thomas Hartmann

Qt5: Don't use the deprecated QAbstractItemModel::reset()

Change-Id: If7703c55217d89deefe0356d3032cc19e3fbd9de
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent f921dec0
......@@ -88,7 +88,8 @@ int StatesEditorModel::rowCount(const QModelIndex &parent) const
void StatesEditorModel::reset()
{
QAbstractListModel::reset();
QAbstractListModel::beginResetModel();
QAbstractListModel::endResetModel();
}
QVariant StatesEditorModel::data(const QModelIndex &index, int role) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment