mirror of
https://github.com/holub/mame
synced 2025-04-16 13:34:55 +03:00
return proper enumeration value
This commit is contained in:
parent
6126ec7477
commit
149de81cdc
@ -31,7 +31,7 @@ QVariant DevicesWindowModel::data(const QModelIndex &index, int role) const
|
|||||||
Qt::ItemFlags DevicesWindowModel::flags(const QModelIndex &index) const
|
Qt::ItemFlags DevicesWindowModel::flags(const QModelIndex &index) const
|
||||||
{
|
{
|
||||||
if (!index.isValid())
|
if (!index.isValid())
|
||||||
return 0;
|
return Qt::NoItemFlags;
|
||||||
|
|
||||||
return QAbstractItemModel::flags(index);
|
return QAbstractItemModel::flags(index);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user