mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
fixed up image display layout in VOIP config tab
This commit is contained in:
parent
94317d1a39
commit
2107a1c858
1 changed files with 2 additions and 1 deletions
|
@ -113,6 +113,7 @@ void QVideoOutputDevice::showFrameOff()
|
|||
|
||||
void QVideoOutputDevice::showFrame(const QImage& img)
|
||||
{
|
||||
setPixmap(QPixmap::fromImage(img).scaled(minimumSize(),Qt::IgnoreAspectRatio,Qt::SmoothTransformation)) ;
|
||||
std::cerr << "img.size = " << img.width() << " x " << img.height() << std::endl;
|
||||
setPixmap(QPixmap::fromImage(img).scaled( QSize(height()*640/480,height()),Qt::IgnoreAspectRatio,Qt::SmoothTransformation)) ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue