| 450 | } |
| 451 | |
| 452 | bool ReadingListModel::isEditable(const QModelIndex &mi) |
| 453 | { |
| 454 | if (!mi.isValid()) |
| 455 | return false; |
| 456 | auto item = static_cast<ListItem *>(mi.internalPointer()); |
| 457 | return typeid(*item) != typeid(SpecialListItem); |
| 458 | } |
| 459 | |
| 460 | bool ReadingListModel::isReadingList(const QModelIndex &mi) |
| 461 | { |
no test coverage detected