PushValue: Base on QScopedValueRollback

Authored by kfunk.