corrected to use the right value

This commit is contained in:
defnax 2020-01-13 23:36:09 +01:00
parent b333a96da2
commit ca60e1d094

View File

@ -48,7 +48,7 @@ PhotoView::~PhotoView()
void PhotoView::setPixmap(const QPixmap& pixmap)
{
QPixmap sqpixmap = pixmap.scaled(600,480, Qt::KeepAspectRatio, Qt::SmoothTransformation);
QPixmap sqpixmap = pixmap.scaled(640,480, Qt::KeepAspectRatio, Qt::SmoothTransformation);
ui->photoLabel->setPixmap(sqpixmap);
}