diff options
author | Samuel Rødal <samuel.rodal@digia.com> | 2012-11-30 13:41:28 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-30 13:56:30 +0100 |
commit | f5a755b862caddefd39cba6efee3318d06b8a4bd (patch) | |
tree | d7acbeedb862b194629e90ed81ce236738a1294b | |
parent | 1a63a76d39c730a355b101946cdc50400d57bc78 (diff) | |
download | qtwebkit-f5a755b862caddefd39cba6efee3318d06b8a4bd.tar.gz |
Fixed use of to-be-removed compatibility functions in QWindow.
Change-Id: Ie040e30ef778aa3e8eb6e73e003ddf413c1a6f76
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
-rw-r--r-- | Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp b/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp index 977fa3a24..11b6fb7e3 100644 --- a/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp +++ b/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp @@ -38,7 +38,7 @@ static const int gHideMouseCursorDelay = 3000; FullScreenVideoWindow::FullScreenVideoWindow() : m_mediaElement(0) { - setWindowModality(Qt::ApplicationModal); + setModality(Qt::ApplicationModal); #ifndef QT_NO_CURSOR m_cursorTimer.setSingleShot(true); @@ -115,7 +115,7 @@ PlatformVideoWindow::PlatformVideoWindow() { QWindow* win = new FullScreenVideoWindow(); m_window = win; - win->setWindowFlags(win->windowFlags() | Qt::FramelessWindowHint); + win->setFlags(win->flags() | Qt::FramelessWindowHint); // FIXME: Port to Qt 5. win->showFullScreen(); m_videoWindowId = win->winId(); |