Skip to content

Fix QmenuBar crash#1063

Merged
sedwards2009 merged 1 commit intonodegui:masterfrom
NathanaelA:fix-menuCrash
Feb 6, 2025
Merged

Fix QmenuBar crash#1063
sedwards2009 merged 1 commit intonodegui:masterfrom
NathanaelA:fix-menuCrash

Conversation

@NathanaelA
Copy link
Copy Markdown
Contributor

This fixes the QMenuBar crash basically instance becomes a nullptr after moving the mouse over the menu items. emitting a nullptr to the event and creates a crash.

Interestingly enough this event is then triggered by hovering over menu items and instance is then NOT a nullptr. Very strange behavior from QT (or something in the event system somewhere).

@FunctionPoint
Copy link
Copy Markdown

Great work, tanks!

@sedwards2009 sedwards2009 merged commit fc004e9 into nodegui:master Feb 6, 2025
@NathanaelA NathanaelA deleted the fix-menuCrash branch February 6, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants