Fix quality plot window when using multiple plots

This commit is contained in:
jfmcarreira committed 2015-03-13 15:01:30 +00:00
1 parent 350c8381da
commit d3a83bde04
1 file changed
+2 -2
+2 -2
View File
@@ -186,10 +186,10 @@ Void QualityHandle::measureQuality( QVector<VideoSubWindow*> apcWindowList )
}
pcReferenceWindow->stop();
QString plotWindowTitle( QStringLiteral( "Quality - " ) );
QString plotWindowTitle( QStringLiteral( "Quality" ) );
if( apcWindowList.size() == 1 )
{
plotWindowTitle += apcWindowList.at( 0 )->getWindowName();
plotWindowTitle += " - " + apcWindowList.at( 0 )->getWindowName();
}
PlotSubWindow* pcPlotWindow = new PlotSubWindow( m_pcParet, plotWindowTitle );
pcPlotWindow->setAxisName( "Frame Number", QString::fromStdString( PlaYUVerFrame::supportedQualityMetricsList()[m_iQualityMetricIdx] ) );