mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Return Qt::NoItemFlags instead of nullptr
This commit is contained in:
@ -105,7 +105,7 @@ QVariant VolumeComicsModel::data(const QModelIndex &index, int role) const
|
||||
Qt::ItemFlags VolumeComicsModel::flags(const QModelIndex &index) const
|
||||
{
|
||||
if (!index.isValid())
|
||||
return nullptr;
|
||||
return Qt::NoItemFlags;
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user