mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Remove unneeded property
This commit is contained in:
parent
b064095809
commit
97685dca73
@ -734,14 +734,14 @@ void PropertiesDialog::setMultipleCover()
|
|||||||
QPixmap last = lastComic.info.getCover(basePath);
|
QPixmap last = lastComic.info.getCover(basePath);
|
||||||
last = last.scaledToHeight(575, Qt::SmoothTransformation);
|
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);
|
cover->setPixmap(coverImage);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PropertiesDialog::setCover(const QPixmap &coverI)
|
void PropertiesDialog::setCover(const QPixmap &coverI)
|
||||||
{
|
{
|
||||||
coverImage = coverI.scaledToHeight(575, Qt::SmoothTransformation);
|
auto coverImage = coverI.scaledToHeight(575, Qt::SmoothTransformation);
|
||||||
|
|
||||||
cover->setPixmap(coverImage);
|
cover->setPixmap(coverImage);
|
||||||
}
|
}
|
||||||
|
@ -113,8 +113,6 @@ private:
|
|||||||
QPushButton *previousButton;
|
QPushButton *previousButton;
|
||||||
QPushButton *restoreButton; //??
|
QPushButton *restoreButton; //??
|
||||||
|
|
||||||
QPixmap coverImage;
|
|
||||||
|
|
||||||
QToolButton *showPreviousCoverPageButton;
|
QToolButton *showPreviousCoverPageButton;
|
||||||
QToolButton *showNextCoverPageButton;
|
QToolButton *showNextCoverPageButton;
|
||||||
QLabel *coverPageNumberLabel;
|
QLabel *coverPageNumberLabel;
|
||||||
|
Loading…
Reference in New Issue
Block a user