1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 11:19:18 +01:00

Hide the cursor on the visualisation window properly

This commit is contained in:
David Sansome 2010-06-06 22:33:30 +00:00
parent 6e81289ea2
commit 2a77a1070d

View File

@ -162,9 +162,9 @@ void VisualisationContainer::ChangeOverlayOpacity(qreal value) {
// Hide the cursor if the overlay is hidden
if (value < 0.5)
setCursor(Qt::BlankCursor);
viewport()->setCursor(Qt::BlankCursor);
else
unsetCursor();
viewport()->unsetCursor();
}
void VisualisationContainer::enterEvent(QEvent* e) {