2011-03-11 Alexis Menard <alexis.menard@openbossa.org>

        Reviewed by Ariya Hidayat.

        [Qt] Entering fullscreen and leaving it may hide the cursor of the application.
        https://bugs.webkit.org/show_bug.cgi?id=56181

        We need to stop the auto hide cursor timer when closing the widget otherwise the timer
        might get fired and therefore hide the cursor even when the fullscreen widget is closed.

        * WebCoreSupport/FullScreenVideoWidget.cpp:
        (WebCore::FullScreenVideoWidget::closeEvent):

git-svn-id: svn://svn.chromium.org/blink/trunk@80860 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent dad2de30
2011-03-11 Alexis Menard <alexis.menard@openbossa.org>
Reviewed by Ariya Hidayat.
[Qt] Entering fullscreen and leaving it may hide the cursor of the application.
https://bugs.webkit.org/show_bug.cgi?id=56181
We need to stop the auto hide cursor timer when closing the widget otherwise the timer
might get fired and therefore hide the cursor even when the fullscreen widget is closed.
* WebCoreSupport/FullScreenVideoWidget.cpp:
(WebCore::FullScreenVideoWidget::closeEvent):
2011-03-10 David Boddie <david.boddie@nokia.com> 2011-03-10 David Boddie <david.boddie@nokia.com>
Reviewed by Andreas Kling. Reviewed by Andreas Kling.
......
...@@ -73,6 +73,7 @@ void FullScreenVideoWidget::show(QMediaPlayer* player) ...@@ -73,6 +73,7 @@ void FullScreenVideoWidget::show(QMediaPlayer* player)
void FullScreenVideoWidget::closeEvent(QCloseEvent* event) void FullScreenVideoWidget::closeEvent(QCloseEvent* event)
{ {
m_mediaPlayer = 0; m_mediaPlayer = 0;
m_cursorTimer.stop();
setMouseTracking(false); setMouseTracking(false);
releaseMouse(); releaseMouse();
QApplication::restoreOverrideCursor(); QApplication::restoreOverrideCursor();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment