-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix crash with Qt 6.8: metaObject() should never be nullptr
It was null until ready() was called, but before that, any qobject_cast on the object would crash. In Qt 6.8 QAccessibleWidget looks for "who has widget X as buddy" by iterating over all children() of the parent and doing qobject_cast<QLabel *>, hence this new crash.
- Loading branch information
1 parent
1d20208
commit 9971c1c
Showing
2 changed files
with
5 additions
and
4 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