mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
corrected to use the right value
This commit is contained in:
parent
b333a96da2
commit
ca60e1d094
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user