RAM usage reduced (tested 107 pics 220MB to 68MB)
This commit is contained in:
parent
5af3dabcb8
commit
3be2e49d5c
4 changed files with 128 additions and 22 deletions
|
@ -105,6 +105,5 @@ void PictureWidget::updateWindowSize(int screenID)
|
|||
this->resize(desktopRect.width(), desktopRect.height());
|
||||
this->showFullScreen();
|
||||
pictureLabel->setPixmap(QPixmap::fromImage(image.scaled(desktopRect.width(), desktopRect.height(), Qt::KeepAspectRatio, Qt::SmoothTransformation)));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue