| 765 | } |
| 766 | |
| 767 | void PropertiesDialog::setMultipleCover() |
| 768 | { |
| 769 | ComicDB lastComic = comics.last(); |
| 770 | QPixmap last = lastComic.info.getCover(basePath); |
| 771 | last = last.scaledToHeight(575, Qt::SmoothTransformation); |
| 772 | |
| 773 | auto coverImage = QPixmap::fromImage(blurred(last.toImage(), QRect(0, 0, last.width(), last.height()), 15)); |
| 774 | |
| 775 | cover->setPixmap(coverImage); |
| 776 | } |
| 777 | |
| 778 | void PropertiesDialog::setCover(const QPixmap &coverI) |
| 779 | { |