Title: [136227] trunk/Source/WebCore
Revision
136227
Author
[email protected]
Date
2012-11-30 04:50:38 -0800 (Fri, 30 Nov 2012)

Log Message

[Qt] Fixed use of to-be-removed compatibility functions in QWindow.

Patch by Samuel Rødal <[email protected]> on 2012-11-30
Reviewed by Simon Hausmann.

* platform/graphics/gstreamer/PlatformVideoWindowQt.cpp:
(FullScreenVideoWindow::FullScreenVideoWindow):
(PlatformVideoWindow::PlatformVideoWindow):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (136226 => 136227)


--- trunk/Source/WebCore/ChangeLog	2012-11-30 12:47:25 UTC (rev 136226)
+++ trunk/Source/WebCore/ChangeLog	2012-11-30 12:50:38 UTC (rev 136227)
@@ -1,3 +1,13 @@
+2012-11-30  Samuel Rødal  <[email protected]>
+
+        [Qt] Fixed use of to-be-removed compatibility functions in QWindow.
+
+        Reviewed by Simon Hausmann.
+
+        * platform/graphics/gstreamer/PlatformVideoWindowQt.cpp:
+        (FullScreenVideoWindow::FullScreenVideoWindow):
+        (PlatformVideoWindow::PlatformVideoWindow):
+
 2012-11-30  Arpita Bahuguna  <[email protected]>
 
         Caret is painted horizontally in vertical writing mode when there are no visible text

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp (136226 => 136227)


--- trunk/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp	2012-11-30 12:47:25 UTC (rev 136226)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp	2012-11-30 12:50:38 UTC (rev 136227)
@@ -38,7 +38,7 @@
 FullScreenVideoWindow::FullScreenVideoWindow()
     : m_mediaElement(0)
 {
-    setWindowModality(Qt::ApplicationModal);
+    setModality(Qt::ApplicationModal);
 
 #ifndef QT_NO_CURSOR
     m_cursorTimer.setSingleShot(true);
@@ -115,7 +115,7 @@
 {
     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();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to