Fix KDoubleSpinBox initialization problem

(cherry picked from commit 4443b6dd88)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent bb2a1e349f
commit c39ab1452d

@ -1099,7 +1099,6 @@ double KDoubleSpinBox::minValue() const {
void KDoubleSpinBox::setMinValue( double value ) {
bool ok = false;
int min = d->mapToInt( value, &ok );
if ( !ok ) return;
base::setMinValue( min );
updateValidator();
}
@ -1112,7 +1111,6 @@ double KDoubleSpinBox::maxValue() const {
void KDoubleSpinBox::setMaxValue( double value ) {
bool ok = false;
int max = d->mapToInt( value, &ok );
if ( !ok ) return;
base::setMaxValue( max );
updateValidator();
}

Loading…
Cancel
Save