diff options
author | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-08 07:06:17 (GMT) |
---|---|---|
committer | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-08 07:06:17 (GMT) |
commit | 75fc8ab96ee142ade5362eeaa94ce7e47ebcb579 (patch) | |
tree | 36a8c57866582eeff875615c0aeb1a0f148ba1c3 /src/gui/styles/qmotifstyle.cpp | |
parent | 93ea4a9cd6336de6e2a63b1ca075a7fdb835cfa7 (diff) | |
parent | 23ae8b6badfd688f962590268a6147771d27266c (diff) | |
download | Qt-75fc8ab96ee142ade5362eeaa94ce7e47ebcb579.zip Qt-75fc8ab96ee142ade5362eeaa94ce7e47ebcb579.tar.gz Qt-75fc8ab96ee142ade5362eeaa94ce7e47ebcb579.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into softkeys
Diffstat (limited to 'src/gui/styles/qmotifstyle.cpp')
-rw-r--r-- | src/gui/styles/qmotifstyle.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/styles/qmotifstyle.cpp b/src/gui/styles/qmotifstyle.cpp index 7d4fab8..d19750f 100644 --- a/src/gui/styles/qmotifstyle.cpp +++ b/src/gui/styles/qmotifstyle.cpp @@ -298,8 +298,11 @@ void QMotifStyle::unpolish(QWidget* widget) { QCommonStyle::unpolish(widget); #ifndef QT_NO_PROGRESSBAR - if (qobject_cast<QProgressBar *>(widget)) + if (qobject_cast<QProgressBar *>(widget)) { + Q_D(QMotifStyle); widget->removeEventFilter(this); + d->bars.removeAll(static_cast<QProgressBar*>(widget)); + } #endif } |