| 214 | } |
| 215 | |
| 216 | void AliasModel::removeAlias(const QModelIndex &index) |
| 217 | { |
| 218 | beginRemoveRows(QModelIndex(), index.row(), index.row()); |
| 219 | AnimeWorker::instance()->removeAlias(anime, aliasList[index.row()], true); |
| 220 | aliasList.removeAt(index.row()); |
| 221 | endRemoveRows(); |
| 222 | } |
| 223 | |
| 224 | QVariant AliasModel::data(const QModelIndex &index, int role) const |
| 225 | { |