Commit 3a92ecd3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't use nullptr for "0" => use Qt::NoItemFlags

parent aee422b0
......@@ -155,7 +155,7 @@ Qt::ItemFlags ArchiveModel::flags(const QModelIndex &index) const
return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsDragEnabled | defaultFlags;
return nullptr;
return Qt::NoItemFlags;
QVariant ArchiveModel::headerData(int section, Qt::Orientation, int role) const
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