From: Simon Hausmann Date: Tue, 16 Jul 2013 14:31:45 +0000 (+0200) Subject: Fix failing QQuickCanvas auto-tests X-Git-Tag: upstream/5.2.1~669^2~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a96a1fe82b4db0d84f9b0dbc96d5e22464bc0ab7;p=platform%2Fupstream%2Fqtdeclarative.git Fix failing QQuickCanvas auto-tests Make sure to initialize the vtbl correctly. Change-Id: I65eab6e3fbb329b3595773db31fae4726d7683d4 Reviewed-by: Erik Verbruggen --- diff --git a/src/quick/items/context2d/qquickcontext2d.cpp b/src/quick/items/context2d/qquickcontext2d.cpp index c9ee426..ca8b947 100644 --- a/src/quick/items/context2d/qquickcontext2d.cpp +++ b/src/quick/items/context2d/qquickcontext2d.cpp @@ -411,7 +411,9 @@ public: : QV4::Object(e) , patternRepeatX(false) , patternRepeatY(false) - {} + { + vtbl = &static_vtbl; + } QBrush brush; bool patternRepeatX:1; bool patternRepeatY:1;