#include "videowidget.h"
VideoWidget::VideoWidget(QWidget *parent) : Phonon::VideoWidget(parent) {
-//#ifndef Q_WS_MAC
// mouse autohide
// setMouseTracking(true);
mouseTimer = new QTimer(this);
mouseTimer->setInterval(3000);
mouseTimer->setSingleShot(true);
connect(mouseTimer, SIGNAL(timeout()), SLOT(hideMouse()));
-// #endif
}
void VideoWidget::mouseMoveEvent(QMouseEvent * /* event */) {
- qDebug() << "mouseMoveEvent";
+ // qDebug() << "mouseMoveEvent";
// show the normal cursor
unsetCursor();
}
void VideoWidget::hideMouse() {
- qDebug() << "hideMouse()";
+ // qDebug() << "hideMouse()";
setCursor(Qt::BlankCursor);
}