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:
parent
6e81289ea2
commit
2a77a1070d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user