Fix crash bug related to data changes in new group view.

This commit is contained in:
Petr Mrázek 2014-02-04 21:18:02 +01:00
parent 6206a241ea
commit c84c51860d

View File

@ -48,10 +48,14 @@ GroupView::~GroupView()
void GroupView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight,
const QVector<int> &roles)
{
/*
if (roles.contains(GroupViewRoles::GroupRole) || roles.contains(Qt::DisplayRole))
{
*/
updateGeometries();
/*
}
*/
viewport()->update();
}
void GroupView::rowsInserted(const QModelIndex &parent, int start, int end)