Skip to content

fix: disconnect with nullptr receiver#1057

Merged
kaamui merged 1 commit intoOpenBoard-org:devfrom
letsfindaway:fix-disconnect-nullptr
Aug 22, 2024
Merged

fix: disconnect with nullptr receiver#1057
kaamui merged 1 commit intoOpenBoard-org:devfrom
letsfindaway:fix-disconnect-nullptr

Conversation

@letsfindaway
Copy link
Copy Markdown
Collaborator

When starting OpenBoard, there was the following warning:

QObject::disconnect: Unexpected nullptr parameter

This PR fixes this.

  • fix regression introduced with 3e76f16
  • check receiver before disconnecting signal
  • only disconnect when receiver is not-null

- fix regression introduced with 3e76f16
- check receiver before disconnecting signal
- only disconnect when receiver is not-null
@kaamui kaamui merged commit 7b8d444 into OpenBoard-org:dev Aug 22, 2024
@letsfindaway letsfindaway deleted the fix-disconnect-nullptr branch August 22, 2024 12:08
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.

2 participants