summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-11 12:40:12 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-11 12:42:49 (GMT)
commite08c698d48a3179515e0392843c77efcac892134 (patch)
tree825660f0daa8c707d7268913dc61bbc9098fce67
parentb81b46407299c0b03fffab60d6d87cc71b57cd34 (diff)
downloadQt-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
-rw-r--r--src/3rdparty/phonon/ds9/videowidget.cpp2
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());
}