diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-14 10:40:05 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-01-17 20:14:08 +0100 |
commit | c39ab1452df959442ac1cef7a31e2e6600a41a11 (patch) | |
tree | f4e88b160983b40fca7c301b8dc375f5b6821ac6 /kdeui | |
parent | bb2a1e349f302299e394ff86f27be3df41f08fb3 (diff) | |
download | tdelibs-c39ab1452df959442ac1cef7a31e2e6600a41a11.tar.gz tdelibs-c39ab1452df959442ac1cef7a31e2e6600a41a11.zip |
Fix KDoubleSpinBox initialization problem
(cherry picked from commit 4443b6dd886ce7d6fc6f99c594023fdd71d010b3)
Diffstat (limited to 'kdeui')
-rw-r--r-- | kdeui/knuminput.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kdeui/knuminput.cpp b/kdeui/knuminput.cpp index 118af6c22..238eeee7a 100644 --- a/kdeui/knuminput.cpp +++ b/kdeui/knuminput.cpp @@ -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(); } |