mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
Use default constructor for ItemFlags
This commit is contained in:
parent
8b02263341
commit
0bb9322a69
@ -116,7 +116,7 @@ bool CSMWorld::IdTree::setData (const QModelIndex &index, const QVariant &value,
|
||||
Qt::ItemFlags CSMWorld::IdTree::flags (const QModelIndex & index) const
|
||||
{
|
||||
if (!index.isValid())
|
||||
return 0;
|
||||
return Qt::ItemFlags();
|
||||
|
||||
if (index.internalId() != 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user