MCPcopy Create free account
hub / github.com/YACReader/yacreader / setMultipleCover

Method setMultipleCover

YACReaderLibrary/properties_dialog.cpp:767–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765}
766
767void 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
778void PropertiesDialog::setCover(const QPixmap &coverI)
779{

Callers

nothing calls this directly

Calls 3

blurredFunction · 0.85
setPixmapMethod · 0.80
getCoverMethod · 0.45

Tested by

no test coverage detected