Minor bugfix in QualityMeasurementSidebar and PlaYUVerFrame and improve support for the fervor lib
This commit is contained in:
@@ -124,7 +124,7 @@ Void QualityMeasurementSidebar::updateSubWindowList()
|
||||
{
|
||||
if( SubWindowHandle* refSubWindow = m_pcCurrentSubWindow->getRefSubWindow() )
|
||||
{
|
||||
Int index = m_pcWindowListNames.contains( refSubWindow->getWindowName() );
|
||||
Int index = m_pcWindowListNames.indexOf( refSubWindow->getWindowName() );
|
||||
m_comboBoxRef->setCurrentIndex( index );
|
||||
}
|
||||
}
|
||||
@@ -143,7 +143,7 @@ Void QualityMeasurementSidebar::updateSidebarData()
|
||||
{
|
||||
if( SubWindowHandle* refSubWindow = m_pcCurrentSubWindow->getRefSubWindow() )
|
||||
{
|
||||
Int index = m_pcWindowListNames.contains( refSubWindow->getWindowName() );
|
||||
Int index = m_pcWindowListNames.indexOf( refSubWindow->getWindowName() );
|
||||
m_comboBoxRef->setCurrentIndex( index );
|
||||
|
||||
PlaYUVerFrame* currFrame = m_pcCurrentSubWindow->getCurrFrame();
|
||||
|
||||
+2
-2
@@ -33,8 +33,8 @@ int main( int argc, char *argv[] )
|
||||
{
|
||||
QApplication a( argc, argv );
|
||||
QApplication::setApplicationName("playuver");
|
||||
QApplication::setApplicationVersion("0.1");
|
||||
QApplication::setOrganizationName("playuver");
|
||||
QApplication::setApplicationVersion("PLAYUVER_VERSION");
|
||||
QApplication::setOrganizationName("pixlra");
|
||||
QApplication::setOrganizationDomain("playuver.pixlra");
|
||||
plaYUVerApp w;
|
||||
w.show();
|
||||
|
||||
@@ -489,7 +489,7 @@ Double PlaYUVerFrame::getMSE( PlaYUVerFrame* Org, Int component )
|
||||
Int diff = 0;
|
||||
Double ssd = 0;
|
||||
|
||||
Int numberOfPixels = 0;
|
||||
UInt numberOfPixels = 0;
|
||||
if( component == LUMA )
|
||||
{
|
||||
numberOfPixels = Org->getHeight() * Org->getWidth();
|
||||
|
||||
Reference in New Issue
Block a user