]> git.sur5r.net Git - minitube/commitdiff
Fixed mouse not reappearing in the LoadingView
authorFlavio Tordini <flavio.tordini@gmail.com>
Sun, 30 Aug 2009 17:03:57 +0000 (19:03 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Sun, 30 Aug 2009 17:03:57 +0000 (19:03 +0200)
src/videoareawidget.cpp

index 9a67ed027262abdc0a27d1af64a33fdc63dfa233..abba1e07460f10ed1e8d8bb2a3609307ad47fab2 100644 (file)
@@ -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) {