diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-11 12:40:12 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-11 12:42:49 (GMT) |
commit | e08c698d48a3179515e0392843c77efcac892134 (patch) | |
tree | 825660f0daa8c707d7268913dc61bbc9098fce67 /src/3rdparty | |
parent | b81b46407299c0b03fffab60d6d87cc71b57cd34 (diff) | |
download | Qt-e08c698d48a3179515e0392843c77efcac892134.zip Qt-e08c698d48a3179515e0392843c77efcac892134.tar.gz Qt-e08c698d48a3179515e0392843c77efcac892134.tar.bz2 |
Phonon::VideoWidget still flickering
small patch to make sure even the native events of the pending ones
won't trigger anything in the paintevent
Task-number: 251776
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/phonon/ds9/videowidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/ds9/videowidget.cpp b/src/3rdparty/phonon/ds9/videowidget.cpp index 07b9cf3..091be16 100644 --- a/src/3rdparty/phonon/ds9/videowidget.cpp +++ b/src/3rdparty/phonon/ds9/videowidget.cpp @@ -118,6 +118,8 @@ namespace Phonon void paintEvent(QPaintEvent *e) { + if (!updatesEnabled()) + return; //this avoids repaint from native events checkCurrentRenderingMode(); m_currentRenderer->repaintCurrentFrame(this, e->rect()); } |