Commit 8d4414b5 authored by Richard Moe Gustavsen's avatar Richard Moe Gustavsen Committed by The Qt Project
Browse files

PageStack: add recursion guard


We need to protect the page stack while it updates properties to
ensure that the update is atomic. Otherwise the user can e.g
push a new page upon receiving Page.onStatusChanged or
Page.onCompleted, which will recursively start a new transition
while we prepare for another. Calling push/pop while the transition
runs is fine.

Change-Id: Ib9453b1a61f8c8cee19f5e748bb75a1a30614119
Reviewed-by: default avatarRichard Moe Gustavsen <richard.gustavsen@digia.com>
parent 2570ef63
No related merge requests found
Showing with 41 additions and 8 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment