Commit c0895163 authored by Stephen Kelly's avatar Stephen Kelly Committed by The Qt Project
Browse files

Always get the default flags from QAIM.


Change-Id: I89abe8fdbd836804624a669296ae673230149472
Reviewed-by: default avatarJędrzej Nowacki <jedrzej.nowacki@digia.com>
parent f665204c
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -134,7 +134,7 @@ Qt::ItemFlags TreeModel::flags(const QModelIndex &idx) const
if(!idx.isValid())
return Qt::ItemFlags();
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
return QAbstractItemModel::flags(idx);
}
int TreeModel::rowCount(const QModelIndex &p) const
......
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