From a33c01c4bee7d05fa723ea64bedb27724e825a9a Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 16 Dec 2005 09:36:25 +0000 Subject: [PATCH] To remove the following compiler warning: /data/apo/MERGE/VISU_SRC/src/VVTK/VVTK_PickingDlg.cxx: In member function `void VVTK_PickingDlg::Update()': /data/apo/MERGE/VISU_SRC/src/VVTK/VVTK_PickingDlg.cxx:247: warning: passing ` double' for converting 1 of `virtual void QtxIntSpinBox::setValue(int)' --- src/VVTK/VVTK_PickingDlg.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/VVTK/VVTK_PickingDlg.cxx b/src/VVTK/VVTK_PickingDlg.cxx index 0d9052eb..06e1dabb 100644 --- a/src/VVTK/VVTK_PickingDlg.cxx +++ b/src/VVTK/VVTK_PickingDlg.cxx @@ -244,8 +244,7 @@ void VVTK_PickingDlg::Update() myCursorSizeSpinBox->setValue( myPickingSettings->GetCursorSize() ); myPyramidHeightSpinBox->setValue( myPickingSettings->GetPyramidHeight() ); myPointToleranceSpinBox->setValue( myPickingSettings->GetPointTolerance() ); - myTransparencySpinBox->setValue( myPickingSettings->GetInfoWindowTransparency() * 100.0 ); - myTransparencySpinBox->setValue( ( int )myPickingSettings->GetInfoWindowTransparency() * 100 ); + myTransparencySpinBox->setValue( int(myPickingSettings->GetInfoWindowTransparency() * 100.0) ); myPositionComboBox->setCurrentItem( myPickingSettings->GetInfoWindowPosition() ); myZoomFactorSpinBox->setValue( myPickingSettings->GetZoomFactor() ); myStepNumberSpinBox->setValue( myPickingSettings->GetStepNumber() ); -- 2.39.2