mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 07:24:58 -04:00
added label content loading
This commit is contained in:
@ -73,6 +73,9 @@ QVariant ReadingListModel::data(const QModelIndex &index, int role) const
|
||||
return QVariant(ReadingListModel::Separator);
|
||||
}
|
||||
|
||||
if (role == ReadingListModel::IDRole)
|
||||
return item->getId();
|
||||
|
||||
if(typeid(*item) == typeid(ReadingListSeparatorItem))
|
||||
return QVariant();
|
||||
|
||||
|
Reference in New Issue
Block a user