mirror of
https://github.com/YACReader/yacreader
synced 2025-07-29 10:25:14 -04:00
added sublists support to ReadingListsModel
This commit is contained in:
@ -107,3 +107,11 @@ void ReadingListItem::appendChild(ReadingListItem *item)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
int ReadingListItem::row() const
|
||||
{
|
||||
if (parent)
|
||||
return parent->childItems.indexOf(const_cast<ReadingListItem*>(this));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user