mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 00:49:41 -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)
|
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);
|
ui->photoLabel->setPixmap(sqpixmap);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user