Fix logic in setCursorVisible + make it visible if controls are

This commit is contained in:
Alexandre Quessy
2014-10-21 01:52:03 -04:00
parent af84795c78
commit afc84bb692
4 changed files with 13 additions and 13 deletions
+4 -4
View File
@@ -46,13 +46,13 @@ void OutputGLWindow::setCursorVisible(bool visible)
if (_pointerIsVisible)
{
this->setCursor(Qt::BlankCursor);
_pointerIsVisible = false;
this->setCursor(Qt::ArrowCursor);
_pointerIsVisible = true;
}
else
{
this->setCursor(Qt::ArrowCursor);
_pointerIsVisible = true;
this->setCursor(Qt::BlankCursor);
_pointerIsVisible = false;
}
}