Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add QGIS_PROTECT_QOBJECT_THREAD_ACCESS macro
Either shows a warning when a qobject function is accessed from a thread which the object doesn't have affinity with, OR causes a fatal error if the AGGRESSIVE_SAFE_MODE cmake flag is set. We should ensure this macro is present for all qobject methods which may potentially be called from threads
- Loading branch information
1 parent
6a54c9a
commit 6572c9b
Showing
4 changed files
with
448 additions
and
5 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
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
Oops, something went wrong.