projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d652d
)
Set the correct Object type for all date objects
author
Lars Knoll
<lars.knoll@digia.com>
Sat, 4 May 2013 20:15:04 +0000
(22:15 +0200)
committer
Simon Hausmann
<simon.hausmann@digia.com>
Sun, 5 May 2013 12:12:39 +0000
(14:12 +0200)
Change-Id: I25b229809d07cb1dda875b84e2c48e056397050c
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/v4/qv4dateobject.cpp
patch
|
blob
|
history
diff --git
a/src/qml/qml/v4/qv4dateobject.cpp
b/src/qml/qml/v4/qv4dateobject.cpp
index
09818dc
..
d7d1cbd
100644
(file)
--- a/
src/qml/qml/v4/qv4dateobject.cpp
+++ b/
src/qml/qml/v4/qv4dateobject.cpp
@@
-660,6
+660,7
@@
static double getLocalTZA()
DateObject::DateObject(ExecutionEngine *engine, const QDateTime &date)
: Object(engine)
{
+ type = Type_DateObject;
value = Value::fromDouble(FromDateTime(date));
}