Commit 7dded420 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Dont use 0 as flag

parent 9ab4dc4d
......@@ -65,7 +65,7 @@ namespace Oxygen
//* flags
Qt::ItemFlags flags(const QModelIndex &index) const override
if (!index.isValid()) return 0;
if (!index.isValid()) return Qt::NoItemFlags;
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
Markdown is supported
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