Generalise adjustSelectedAreaDims using PlaYUVerFramePelFormat

This commit is contained in:
jfmcarreira committed 2014-11-17 23:36:54 +00:00
1 parent b20bc6dc4e
commit 7ccc608d34
4 files changed
+25 -54

No files matched your search

+3 -1
View File
@@ -496,7 +496,9 @@ Void FramePropertiesSideBar::setSelection( const QRect &selectionArea )
if( selectionArea.isValid() )
{
histogramWidget->stopHistogramComputation();
histogramWidget->updateSelectionData( new PlaYUVerFrame(m_pcFrame, selectionArea));
histogramWidget->updateSelectionData( new PlaYUVerFrame(m_pcFrame,
selectionArea.x(), selectionArea.y(),
selectionArea.width(), selectionArea.height() ) );
fullImageButton->show();
selectionImageButton->show();
selectionImageButton->click();