From 6764ab075c799e9cdbf63e246f734c9be391199e Mon Sep 17 00:00:00 2001 From: srit Date: Thu, 17 Mar 2011 18:39:09 +0000 Subject: [PATCH] Display values of two images and their difference in the same way instead of rounding to the second decimal --- vv/vvOverlayPanel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vv/vvOverlayPanel.cxx b/vv/vvOverlayPanel.cxx index 7611623..ac981a7 100644 --- a/vv/vvOverlayPanel.cxx +++ b/vv/vvOverlayPanel.cxx @@ -149,8 +149,8 @@ void vvOverlayPanel::getCurrentOverlayInfo(int visibility,double valueOver, doub QString diffValue = "Pixel difference : "; if (visibility) { refValue += QString::number(valueRef); - overlayValue += QString::number(valueOver,'f',1); - diffValue += QString::number(valueRef - valueOver,'f',1); + overlayValue += QString::number(valueOver); + diffValue += QString::number(valueRef - valueOver); } refValueLabel->setText(refValue); valueLabel->setText(overlayValue); -- 2.47.1