summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-14 10:40:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-14 10:40:05 -0600
commit4443b6dd886ce7d6fc6f99c594023fdd71d010b3 (patch)
tree53741084f9f5ed6202d016ed678ac58cbfd7eecf
parentd3264970c374983ec6f7b55f468334e80513fae3 (diff)
downloadtdelibs-4443b6dd886ce7d6fc6f99c594023fdd71d010b3.tar.gz
tdelibs-4443b6dd886ce7d6fc6f99c594023fdd71d010b3.zip
Fix KDoubleSpinBox initialization problem
-rw-r--r--tdeui/knuminput.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tdeui/knuminput.cpp b/tdeui/knuminput.cpp
index 118af6c22..238eeee7a 100644
--- a/tdeui/knuminput.cpp
+++ b/tdeui/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();
}