Start using resource handler to manage different streams

This commit is contained in:
jfmcarreira committed 2021-09-06 22:43:21 +01:00
1 parent 463e1a58b9
commit bf5235352b
14 files changed
+466 -129

No files matched your search

+2 -2
View File
@@ -73,7 +73,7 @@ void ViewArea::setImage( CalypFrame* pcFrame )
{
m_pcCurrFrame = pcFrame;
m_uiPixelHalfScale = 1 << ( m_pcCurrFrame->getBitsPel() - 1 );
m_pcCurrFrame->fillRGBBuffer();
pcFrame->fillRGBBuffer();
QImage qimg = QImage( m_pcCurrFrame->getRGBBuffer(), m_pcCurrFrame->getWidth(), m_pcCurrFrame->getHeight(),
QImage::Format_ARGB32 );
setImage( QPixmap::fromImage( qimg ) );
@@ -1091,6 +1091,6 @@ void ViewArea::updateMask( const QRect& rect )
break;
}
default: /* Do Nothing */
;
;
}
}