Use enums from Qt::ItemFlags

It seems that one my compiler we need to use an explicit enum instead of
the constant it represents.
It shouldn't cause any issue as the value is the same.
This commit is contained in:
Ludovic LANGE
2022-09-27 21:29:03 +02:00
parent ea0dbd90a8
commit bcbe3d38bd
+1 -1
View File
@@ -137,7 +137,7 @@ QVariant SnifferModel::data(const QModelIndex &index, int role) const
Qt::ItemFlags SnifferModel::flags(const QModelIndex &index) const
{
if (!index.isValid())
return 0;
return Qt::NoItemFlags;
return QAbstractItemModel::flags(index);
}