From 6c10cb00512ab1883e529f509a680e3c451dde1e Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Sun, 30 Aug 2009 19:03:57 +0200 Subject: [PATCH] Fixed mouse not reappearing in the LoadingView --- src/videoareawidget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/videoareawidget.cpp b/src/videoareawidget.cpp index 9a67ed0..abba1e0 100644 --- a/src/videoareawidget.cpp +++ b/src/videoareawidget.cpp @@ -71,13 +71,14 @@ void VideoAreaWidget::mousePressEvent(QMouseEvent *event) { void VideoAreaWidget::mouseMoveEvent(QMouseEvent * /* event */) { // show the normal cursor - unsetCursor(); + videoWidget->unsetCursor(); + // then hide it again after a few seconds mouseTimer->start(); } void VideoAreaWidget::hideMouse() { - setCursor(QCursor(Qt::BlankCursor)); + videoWidget->setCursor(QCursor(Qt::BlankCursor)); } void VideoAreaWidget::dragEnterEvent(QDragEnterEvent *event) { -- 2.39.5