mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 17:39:40 +00:00
Use default constructor for ItemFlags
This commit is contained in:
parent
8b02263341
commit
0bb9322a69
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ bool CSMWorld::IdTree::setData (const QModelIndex &index, const QVariant &value,
|
||||||
Qt::ItemFlags CSMWorld::IdTree::flags (const QModelIndex & index) const
|
Qt::ItemFlags CSMWorld::IdTree::flags (const QModelIndex & index) const
|
||||||
{
|
{
|
||||||
if (!index.isValid())
|
if (!index.isValid())
|
||||||
return 0;
|
return Qt::ItemFlags();
|
||||||
|
|
||||||
if (index.internalId() != 0)
|
if (index.internalId() != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue