aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/textureinthread/main.qml
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@jollamobile.com>2014-03-28 09:11:33 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-02 10:38:26 +0200
commit73074002c84ed8d6e9f913402cc6806629e0a030 (patch)
treee39058f50f468d0ba5e64f7223cc1f4fdce2eff1 /examples/quick/scenegraph/textureinthread/main.qml
parentf1b0606590946ee09bbf293cddcf4e6f5b95e0b5 (diff)
Make example work when QOffscreenSurface == QWindow
Change-Id: I7435d91b37a46c0bced301c5c9c82fdf499e0587 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'examples/quick/scenegraph/textureinthread/main.qml')
-rw-r--r--examples/quick/scenegraph/textureinthread/main.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/textureinthread/main.qml b/examples/quick/scenegraph/textureinthread/main.qml
index 4493ec46fd..52501ebd49 100644
--- a/examples/quick/scenegraph/textureinthread/main.qml
+++ b/examples/quick/scenegraph/textureinthread/main.qml
@@ -85,6 +85,10 @@ Item {
Scale { id: scale; },
Translate { id: txIn; x: renderer.width / 2; y: renderer.height / 2 }
]
+
+ Behavior on opacity { NumberAnimation { duration: 500 } }
+ opacity: 0
+ Component.onCompleted: renderer.opacity = 1;
}
// Just to show something interesting