Removed decimal places from the median value.

This commit is contained in:
Joao Santos committed 2020-12-12 13:11:09 +00:00
1 parent b5edc60794
commit f2e1e4bfc7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -938,7 +938,7 @@ void HistogramWidget::paintEvent( QPaintEvent* )
tipText += cellBeg + tr( "Median:" ) + cellMid;
double median = frame->getMedian( m_channelType, 0, frame->getNumHistogramSegment() - 1 );
tipText += value.setNum( median, 'f', 1 ) + cellEnd;
tipText += value.setNum( median, 'f', 0 ) + cellEnd;
tipText += cellBeg + tr( "Entropy:" ) + cellMid;
double entropy = frame->getEntropy( m_channelType, 0, frame->getNumHistogramSegment() - 1 );