summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/videooutput.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-10-07 17:01:25 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-10-09 07:10:23 (GMT)
commit1e46018e8e3252c2e28b76ab9e24298a69a75d62 (patch)
tree44dee428a56e2410597db0ef26c0173c546490a9 /src/3rdparty/phonon/mmf/videooutput.cpp
parenta8e2a457bb7d2fc377c1c65b6a4172974919e055 (diff)
downloadQt-1e46018e8e3252c2e28b76ab9e24298a69a75d62.zip
Qt-1e46018e8e3252c2e28b76ab9e24298a69a75d62.tar.gz
Qt-1e46018e8e3252c2e28b76ab9e24298a69a75d62.tar.bz2
Modified video widget to respond to WinIdChange events
Task-number: QTBUG-4664 Reviewed-by: Frans Englich
Diffstat (limited to 'src/3rdparty/phonon/mmf/videooutput.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/videooutput.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/videooutput.cpp b/src/3rdparty/phonon/mmf/videooutput.cpp
index 691c144..0541612 100644
--- a/src/3rdparty/phonon/mmf/videooutput.cpp
+++ b/src/3rdparty/phonon/mmf/videooutput.cpp
@@ -146,6 +146,17 @@ void MMF::VideoOutput::moveEvent(QMoveEvent* event)
videoOutputRegionChanged();
}
+bool MMF::VideoOutput::event(QEvent* event)
+{
+ TRACE_CONTEXT(VideoOutput::event, EVideoInternal);
+
+ if(event->type() == QEvent::WinIdChange) {
+ TRACE_0("WinIdChange");
+ videoOutputRegionChanged();
+ return true;
+ }
+ else
+ return QWidget::event(event);
}