Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overview: clear pickup position display when opening cue menu #13693

Open
wants to merge 1 commit into
base: 2.5
Choose a base branch
from

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Sep 24, 2024

IMO it only adds noise, all relevant info like the cue position is displayed in the cue menu.

@github-actions github-actions bot added the ui label Sep 24, 2024
@ronso0 ronso0 marked this pull request as ready for review September 24, 2024 22:45
Comment on lines 597 to 598
QEvent* ev = new QEvent(QEvent::HoverLeave);
leaveEvent(ev);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ev is leaked. This should do the trick:

Suggested change
QEvent* ev = new QEvent(QEvent::HoverLeave);
leaveEvent(ev);
QEvent ev = QEvent(QEvent::HoverLeave);
leaveEvent(&ev);

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.
I definitly have to do some homework wrt pointers.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants