diff options
| author | Bernd Weimer <bernd.weimer@qt.io> | 2022-03-07 11:20:11 +0100 |
|---|---|---|
| committer | Dominik Holland <dominik.holland@qt.io> | 2022-07-28 01:43:10 +0200 |
| commit | 583b8f88593d725f3ec886b6f087b5ac9b0dca6c (patch) | |
| tree | cf0b12dda2fbaee5c40497ed0292710c1e1a31d6 /.gitignore | |
| parent | 99cf1f47bc90ef5c1efec14004b1c9ebe00cadc3 (diff) | |
Improve the QIfSimulationEngine recursion guard
When onIsInitialized is called we are already in the initialize
function. At this point calling another function in the simulation
is prevented by the recursion guard.
The same happened when trying to trigger an property update in
the onPropertyChanged handler.
The new recursion guard is part of the QIF_SIMULATION_TRY_CALL_FUNC
macro and makes sure direct recursions are prevented within the
simulation engine, but still allows updates from within the
signal or property changed handlers in the UI QML code.
Pick-to: 6.4
Change-Id: I3f8dcaf09030eaf58bad53246357e6be96fcc55d
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to '.gitignore')
| -rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ tst_* !tst_*.h !tst_*.tpl !tst_*.qface +!tst_*.qml *Makefile.tst_* # Directories to ignore |
