From 76527b0c8b1208770b6f707644829b691a87d081 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 27 Feb 2014 14:37:21 +0400 Subject: [PATCH] Small correction: method should return a value. --- src/Qtx/QtxDoubleSpinSlider.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qtx/QtxDoubleSpinSlider.cxx b/src/Qtx/QtxDoubleSpinSlider.cxx index de0f2369a..3de754387 100644 --- a/src/Qtx/QtxDoubleSpinSlider.cxx +++ b/src/Qtx/QtxDoubleSpinSlider.cxx @@ -139,7 +139,7 @@ void QtxDoubleSpinSlider::setPrecision( int thePrecision ) */ int QtxDoubleSpinSlider::precision() { - myDoubleSpinBox->getPrecision(); + return myDoubleSpinBox->getPrecision(); } void QtxDoubleSpinSlider::setUnit( QString& theUnit ) -- 2.39.2