Explorar o código

Fix unused variable warning in ctkSliderWidget by commenting line

Jean-Christophe Fillion-Robin %!s(int64=14) %!d(string=hai) anos
pai
achega
3878f0a0ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Libs/Widgets/ctkSliderWidget.cpp

+ 1 - 1
Libs/Widgets/ctkSliderWidget.cpp

@@ -228,7 +228,7 @@ void ctkSliderWidget::setValue(double _value)
   d->SpinBox->setValue(_value);
   d->SpinBox->setValue(_value);
   // Why do we need to set the value to the slider ?
   // Why do we need to set the value to the slider ?
   //d->Slider->setValue(d->SpinBox->value());
   //d->Slider->setValue(d->SpinBox->value());
-  double spinBoxValue = d->SpinBox->value();
+  //double spinBoxValue = d->SpinBox->value();
   Q_ASSERT(d->equal(d->SpinBox->value(), d->Slider->value()));
   Q_ASSERT(d->equal(d->SpinBox->value(), d->Slider->value()));
   // restore the prop
   // restore the prop
   d->Changing = isChanging;
   d->Changing = isChanging;