diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2009-05-14 14:09:41 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2009-05-14 14:11:42 (GMT) |
commit | a2f9d610c5cfd80819dc9a11c9452fcadba6ebb4 (patch) | |
tree | f2b34b53343a4530307afc63df018564b9fc78da /src/gui/widgets/qabstractspinbox.cpp | |
parent | d45795809de0d5c4bb7a8c4dfd0b786373350c14 (diff) | |
download | Qt-a2f9d610c5cfd80819dc9a11c9452fcadba6ebb4.zip Qt-a2f9d610c5cfd80819dc9a11c9452fcadba6ebb4.tar.gz Qt-a2f9d610c5cfd80819dc9a11c9452fcadba6ebb4.tar.bz2 |
Fix missing update of edit geometry on QSpinBox
When showing or hiding spinbox buttons we did not update the
child line edit geometry. This would on windows basically mean that
the buttons would not show up as they were completely covered by the
edit.
Task-number: 235747
Reviewed-by: ogoffart
Diffstat (limited to 'src/gui/widgets/qabstractspinbox.cpp')
-rw-r--r-- | src/gui/widgets/qabstractspinbox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qabstractspinbox.cpp b/src/gui/widgets/qabstractspinbox.cpp index 347f89a..d640c70 100644 --- a/src/gui/widgets/qabstractspinbox.cpp +++ b/src/gui/widgets/qabstractspinbox.cpp @@ -193,6 +193,7 @@ void QAbstractSpinBox::setButtonSymbols(ButtonSymbols buttonSymbols) Q_D(QAbstractSpinBox); if (d->buttonSymbols != buttonSymbols) { d->buttonSymbols = buttonSymbols; + d->updateEditFieldGeometry(); update(); } } |