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:
bd0ff1b
)
Handle Integer_Type in a switch statement
author
Lars Knoll
<lars.knoll@digia.com>
Fri, 12 Oct 2012 06:48:33 +0000
(08:48 +0200)
committer
Simon Hausmann
<simon.hausmann@digia.com>
Fri, 12 Oct 2012 07:18:06 +0000
(09:18 +0200)
Change-Id: I8e00636f0896cec7d18d645dd70db8a100bf5560
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qmljs_runtime.cpp
patch
|
blob
|
history
diff --git
a/qmljs_runtime.cpp
b/qmljs_runtime.cpp
index
f64ffba
..
e4295a5
100644
(file)
--- a/
qmljs_runtime.cpp
+++ b/
qmljs_runtime.cpp
@@
-1027,6
+1027,8
@@
bool __qmljs_equal(Context *ctx, const Value *x, const Value *y)
case Value::Boolean_Type:
return x->booleanValue() == y->booleanValue();
break;
+ case Value::Integer_Type:
+ return x->integerValue() == y->integerValue();
case Value::String_Type:
return __qmljs_string_equal(ctx, x->stringValue(), y->stringValue());
case Value::Object_Type: