Allow grabbing windows rendered without showing for testing.
authorBalazs Kelemen <kbalazs@webkit.org>
Thu, 27 Sep 2012 10:24:25 +0000 (12:24 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 28 Sep 2012 16:50:32 +0000 (18:50 +0200)
commit75445c228476e4905cef3fb89a849f93f33e768f
treef8a9cb3a9eca2e85e8893e57078d912870d3ad3a
parente03363dfd1aeddd085c4c86d9a1964da769d7980
Allow grabbing windows rendered without showing for testing.

To make QQuickWindowPrivate::setRenderWithoutShowing more useful
for autotesting we can allow grabbing such windows. This is safe
if the platform window have been created and the window has a valid
size.

Change-Id: I8b9a2aaeb93935f662b75ef29651730b890441d5
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
src/quick/items/qquickthreadedwindowmanager.cpp
src/quick/items/qquickthreadedwindowmanager_p.h
src/quick/items/qquickwindow.cpp
src/quick/items/qquickwindow_p.h
src/quick/items/qquickwindowmanager.cpp