diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-04-29 10:57:23 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-07-22 13:49:03 +0200 |
commit | 06ad87eb0f8abde691026b9a72d372184d6d8249 (patch) | |
tree | 7536278f8f9e00cd662ede99b52e4810a4127428 /src/qml/jsruntime/qv4dateobject.cpp | |
parent | 3da391808eaa8b64e7e700965ce488d8b41e1705 (diff) |
Convert DateObject over to new storage scheme
Change-Id: I34b391a79ef80ab09e892b9a00897b90b31802ef
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4dateobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4dateobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4dateobject.cpp b/src/qml/jsruntime/qv4dateobject.cpp index 5018dddaaa..61261d6b8a 100644 --- a/src/qml/jsruntime/qv4dateobject.cpp +++ b/src/qml/jsruntime/qv4dateobject.cpp @@ -647,7 +647,7 @@ DateObject::DateObject(ExecutionEngine *engine, const QDateTime &date) : Object(engine->dateClass) { setVTable(staticVTable()); - data.value.setDouble(date.isValid() ? date.toMSecsSinceEpoch() : qSNaN()); + d()->value.setDouble(date.isValid() ? date.toMSecsSinceEpoch() : qSNaN()); } QDateTime DateObject::toQDateTime() const |