diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2009-11-25 09:09:20 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2009-11-26 14:42:57 (GMT) |
commit | 3ac80bf663a2a8d69b860c44b0285fe72750da58 (patch) | |
tree | e3338fead2fa4b9df40244c13a79de709aad52c6 /src/3rdparty/phonon/mmf/mmf_videoplayer.cpp | |
parent | e84f5486724bf11d2a20e405a30db618f8c48e33 (diff) | |
download | Qt-3ac80bf663a2a8d69b860c44b0285fe72750da58.zip Qt-3ac80bf663a2a8d69b860c44b0285fe72750da58.tar.gz Qt-3ac80bf663a2a8d69b860c44b0285fe72750da58.tar.bz2 |
Tidied up logic of retrieving video window in Phonon MMF backend
Task-number: QTBUG-5467
Reviewed-by: trustme
Diffstat (limited to 'src/3rdparty/phonon/mmf/mmf_videoplayer.cpp')
-rw-r--r-- | src/3rdparty/phonon/mmf/mmf_videoplayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp b/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp index 0fd4d67..be58e91 100644 --- a/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp +++ b/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp @@ -321,8 +321,7 @@ void MMF::VideoPlayer::getVideoWindow() m_videoOutput->dump(); initVideoOutput(); - m_window = m_videoOutput->videoWindow(); - updateVideoRect(); + videoWindowChanged(); } else // Top-level window m_window = QApplication::activeWindow()->effectiveWinId()->DrawableWindow(); |