aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/v4/qv4ir_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/v4/qv4ir_p.h')
-rw-r--r--src/declarative/qml/v4/qv4ir_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/v4/qv4ir_p.h b/src/declarative/qml/v4/qv4ir_p.h
index 2ed403fc29..746995e5be 100644
--- a/src/declarative/qml/v4/qv4ir_p.h
+++ b/src/declarative/qml/v4/qv4ir_p.h
@@ -306,7 +306,7 @@ struct Unop: Expr {
void init(AluOp op, Expr *expr)
{
- this->typeForOp(op, expr);
+ this->type = this->typeForOp(op, expr);
this->op = op;
this->expr = expr;
}