mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 07:24:58 -04:00
fixed StyledDelegates and added proxymodel to lists model
This commit is contained in:
@ -166,6 +166,9 @@ QVariant FolderModel::data(const QModelIndex &index, int role) const
|
||||
return QVariant(YACReader::noHighlightedIcon(":/images/folder.png"));
|
||||
#endif
|
||||
|
||||
if(role == FolderModel::CompletedRole)
|
||||
return item->data(FolderModel::Completed);
|
||||
|
||||
if (role != Qt::DisplayRole)
|
||||
return QVariant();
|
||||
|
||||
|
Reference in New Issue
Block a user