diff options
Diffstat (limited to 'src/qml/jsruntime/qv4value_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4value_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4value_p.h b/src/qml/jsruntime/qv4value_p.h index 7629e764cf..e34ee0ccbe 100644 --- a/src/qml/jsruntime/qv4value_p.h +++ b/src/qml/jsruntime/qv4value_p.h @@ -682,6 +682,9 @@ struct Encode { Encode(ReturnedValue v) { val = v; } + Encode(Value v) { + val = v.rawValue(); + } Encode(Heap::Base *o) { Q_ASSERT(o); |