| 488 | } |
| 489 | |
| 490 | int ComicModel::rowCount(const QModelIndex &parent) const |
| 491 | { |
| 492 | if (parent.column() > 0) |
| 493 | return 0; |
| 494 | |
| 495 | if (!parent.isValid()) |
| 496 | return _data.count(); |
| 497 | |
| 498 | return 0; |
| 499 | } |
| 500 | |
| 501 | QStringList ComicModel::getPaths(const QString &_source) |
| 502 | { |
no test coverage detected