From: Aaron Kennedy Date: Fri, 26 Aug 2011 06:35:57 +0000 (+1000) Subject: Fix QSGItem::polish() at startup logic X-Git-Tag: qt-v5.0.0-alpha1~1866 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b016460dc49c0ea5a1ed54c71f47ba52819921a8;p=profile%2Fivi%2Fqtdeclarative.git Fix QSGItem::polish() at startup logic Change-Id: I4e3f81bd8e95d34fe59e39b1ae807211e00aaaa5 Reviewed-on: http://codereview.qt.nokia.com/3632 Reviewed-by: Qt Sanity Bot Reviewed-by: Bea Lam --- diff --git a/src/declarative/items/qsgcanvas.cpp b/src/declarative/items/qsgcanvas.cpp index 6873c41..4f1fcef 100644 --- a/src/declarative/items/qsgcanvas.cpp +++ b/src/declarative/items/qsgcanvas.cpp @@ -975,6 +975,8 @@ bool QSGCanvas::event(QEvent *e) if (e->type() == QEvent::User) { if (!d->thread->syncAlreadyHappened) d->thread->sync(false); + else + d->renderThreadAwakened = false; d->thread->syncAlreadyHappened = false;