diff --git a/source/app/QualityMeasurementSidebar.cpp b/source/app/QualityMeasurementSidebar.cpp index 098c960..cfe9b57 100644 --- a/source/app/QualityMeasurementSidebar.cpp +++ b/source/app/QualityMeasurementSidebar.cpp @@ -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(); diff --git a/source/app/main.cpp b/source/app/main.cpp index 6c9aae0..157e985 100644 --- a/source/app/main.cpp +++ b/source/app/main.cpp @@ -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(); diff --git a/source/lib/PlaYUVerFrame.cpp b/source/lib/PlaYUVerFrame.cpp index 021bd05..6d366d3 100644 --- a/source/lib/PlaYUVerFrame.cpp +++ b/source/lib/PlaYUVerFrame.cpp @@ -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();