diff options
author | Joona Petrell <joona.t.petrell@nokia.com> | 2010-12-23 12:24:47 +1000 |
---|---|---|
committer | Joona Petrell <joona.t.petrell@nokia.com> | 2011-01-07 15:04:09 +1000 |
commit | d3a6fcd9174b893aaac9db7d5e541ceb54b12402 (patch) | |
tree | c230bacdbb45ed0bd8454306383570232aa2019c /demos/declarative | |
parent | 5f4bf308ac7d4c81374f651103f85d45e0065d05 (diff) | |
download | qt4-tools-d3a6fcd9174b893aaac9db7d5e541ceb54b12402.tar.gz |
Introduce Qt.application.active property
Replaces qmlviewer's runtime.activeWindow property.
Task-number: QTBUG-13351
Reviewed-by: Martin Jones
Diffstat (limited to 'demos/declarative')
-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 af86aac1ce..366c1727d2 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 { |