diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-07-07 15:11:39 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-07-07 15:12:53 (GMT) |
commit | 96507cedbc6007bd8db81d82c051da86da5b0e4b (patch) | |
tree | 0803f17b85ca8bb541ed4d4b7ebe701402fae654 /src | |
parent | f2077762cffba8c66cc3880c486161201421e074 (diff) | |
download | Qt-96507cedbc6007bd8db81d82c051da86da5b0e4b.zip Qt-96507cedbc6007bd8db81d82c051da86da5b0e4b.tar.gz Qt-96507cedbc6007bd8db81d82c051da86da5b0e4b.tar.bz2 |
Fixes the double spinbox not updating geometry when suffix is changed
patch was found in the task and looks good.
Task-number: QTBUG-9530
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/qspinbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/qspinbox.cpp b/src/gui/widgets/qspinbox.cpp index 2d871d0..10ce144 100644 --- a/src/gui/widgets/qspinbox.cpp +++ b/src/gui/widgets/qspinbox.cpp @@ -697,6 +697,9 @@ void QDoubleSpinBox::setSuffix(const QString &suffix) d->suffix = suffix; d->updateEdit(); + + d->cachedSizeHint = QSize(); + updateGeometry(); } /*! |