Minor bugfix in QualityMeasurementSidebar and PlaYUVerFrame and improve support for the fervor lib

This commit is contained in:
2014-07-02 21:25:42 +01:00
parent db9a1758b9
commit b5335f2ae3
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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
View File
@@ -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();
+1 -1
View File
@@ -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();