mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 09:03:51 -05:00
corrected to use the right value
This commit is contained in:
parent
b333a96da2
commit
ca60e1d094
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue