Remove unneeded property

This commit is contained in:
Luis Ángel San Martín 2025-05-09 14:30:11 +02:00
parent b064095809
commit 97685dca73
2 changed files with 2 additions and 4 deletions

View File

@ -734,14 +734,14 @@ void PropertiesDialog::setMultipleCover()
QPixmap last = lastComic.info.getCover(basePath);
last = last.scaledToHeight(575, Qt::SmoothTransformation);
coverImage = QPixmap::fromImage(blurred(last.toImage(), QRect(0, 0, last.width(), last.height()), 15));
auto coverImage = QPixmap::fromImage(blurred(last.toImage(), QRect(0, 0, last.width(), last.height()), 15));
cover->setPixmap(coverImage);
}
void PropertiesDialog::setCover(const QPixmap &coverI)
{
coverImage = coverI.scaledToHeight(575, Qt::SmoothTransformation);
auto coverImage = coverI.scaledToHeight(575, Qt::SmoothTransformation);
cover->setPixmap(coverImage);
}

View File

@ -113,8 +113,6 @@ private:
QPushButton *previousButton;
QPushButton *restoreButton; //??
QPixmap coverImage;
QToolButton *showPreviousCoverPageButton;
QToolButton *showNextCoverPageButton;
QLabel *coverPageNumberLabel;