summaryrefslogtreecommitdiffstats
path: root/examples/mediaplayer/spmodel.h
diff options
context:
space:
mode:
authorMarc Schmitzer <marc.schmitzer@richard-wolf.com>2011-11-28 15:43:28 -0800
committerNo'am Rosenthal <noam.rosenthal@nokia.com>2011-11-28 15:43:28 -0800
commiteb07b340d03fd5749205490c766020b59d740e98 (patch)
treee1adae4827018c87c0fbb1baf45c1e32a1ca8b7b /examples/mediaplayer/spmodel.h
parent4c03ed9c7da88f3cbd45224170cf78396ba63975 (diff)
Clear script in curExecContext after applying it to a transition in QScxmlLoader::loadState().
Without this change, the script is also applied to the state containing the transition in line 1502 if the state sources an external scxml file (via the "src") attribute. In that case, the next element processed by the parser is the closing </scxml> if the transition containing the script is the last in the file. Maybe this should better be fixed in the block starting at line 1499, but clearing the script *after* applying it somewhere seems safe enough. Merge-request: 3 Reviewed-by: No'am Rosenthal <noam.rosenthal@nokia.com>
Diffstat (limited to 'examples/mediaplayer/spmodel.h')
0 files changed, 0 insertions, 0 deletions