From: Flavio Tordini Date: Sun, 30 Aug 2009 17:03:57 +0000 (+0200) Subject: Fixed mouse not reappearing in the LoadingView X-Git-Tag: 0.6~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6c10cb00512ab1883e529f509a680e3c451dde1e;p=minitube Fixed mouse not reappearing in the LoadingView --- 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) {