QVideoWidget: fixed setFullScreen(false) on the Xcb platform.
authorYoann Lopes <yoann.lopes@digia.com>
Fri, 28 Sep 2012 15:53:11 +0000 (17:53 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 1 Oct 2012 07:31:28 +0000 (09:31 +0200)
commit439d5b0e53f564dc75e427743ccce75c6a62f1c6
tree8d2409191d2f6c8ce67e5a05928a8ccd355c6137
parent06827f5d6e38ad01fecd99d0ce2cd74c6c63c535
QVideoWidget: fixed setFullScreen(false) on the Xcb platform.

Fixed exiting fullscreen when a QVideoWidget is embedded in another QWidget.
Requires change I3616dc0f in qtbase to work.
Because of a bug in some X window managers, the order in which
setWindowFlags() and showNormal() are called has been changed.

Change-Id: I335d47a3a1d9ce517978cad35597d72312150db1
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
examples/player/videowidget.cpp
src/multimediawidgets/qvideowidget.cpp