diff options
author | Joona Petrell <joona.t.petrell@nokia.com> | 2010-12-23 02:24:47 (GMT) |
---|---|---|
committer | Joona Petrell <joona.t.petrell@nokia.com> | 2011-01-07 05:04:09 (GMT) |
commit | d3a6fcd9174b893aaac9db7d5e541ceb54b12402 (patch) | |
tree | c230bacdbb45ed0bd8454306383570232aa2019c /demos | |
parent | 5f4bf308ac7d4c81374f651103f85d45e0065d05 (diff) | |
download | Qt-d3a6fcd9174b893aaac9db7d5e541ceb54b12402.zip Qt-d3a6fcd9174b893aaac9db7d5e541ceb54b12402.tar.gz Qt-d3a6fcd9174b893aaac9db7d5e541ceb54b12402.tar.bz2 |
Introduce Qt.application.active property
Replaces qmlviewer's runtime.activeWindow property.
Task-number: QTBUG-13351
Reviewed-by: Martin Jones
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/snake/snake.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/snake/snake.qml b/demos/declarative/snake/snake.qml index af86aac..366c172 100644 --- a/demos/declarative/snake/snake.qml +++ b/demos/declarative/snake/snake.qml @@ -105,7 +105,7 @@ Rectangle { source: "content/pics/pause.png" anchors.centerIn: parent; //opacity is deliberately not animated - opacity: activeGame && !runtime.isActiveWindow + opacity: activeGame && !Qt.application.active } Image { |