forked from Stellarium/stellarium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of counting the time difference, I use a QTimer that is reset every time the mouse move. I enabled mouse tracking in the main view, so the mouseMoveEvent function is called at each mouse move. I think it shouldn't be a problem since all it does is restore the mouse visibility and reset the timer.
- Loading branch information
1 parent
cbbc89d
commit 7c7d35c
Showing
2 changed files
with
38 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters