| 1414 | } |
| 1415 | |
| 1416 | void ComicModel::setShowRecent(bool showRecent) |
| 1417 | { |
| 1418 | if (this->showRecent == showRecent) |
| 1419 | return; |
| 1420 | |
| 1421 | this->showRecent = showRecent; |
| 1422 | |
| 1423 | emit dataChanged(index(0, 0), index(rowCount() - 1, 0), { ComicModel::ShowRecentRole }); |
| 1424 | } |
| 1425 | |
| 1426 | void ComicModel::setRecentRange(int days) |
| 1427 | { |