diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-07-28 12:49:37 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-07-28 12:49:37 (GMT) |
commit | 93ad359f93de72ef8c4d5f0073dc20ba22b9023c (patch) | |
tree | 2463602896f5d671d62a16c3338a9b7ba8492db1 /demos/declarative/samegame | |
parent | f95cecebddb8ce0ef40bd691bbe574db1a570b8c (diff) | |
download | Qt-93ad359f93de72ef8c4d5f0073dc20ba22b9023c.zip Qt-93ad359f93de72ef8c4d5f0073dc20ba22b9023c.tar.gz Qt-93ad359f93de72ef8c4d5f0073dc20ba22b9023c.tar.bz2 |
Fix for QmlPalette
Add a colorGroup property and remove palette properties from the
root context.
Diffstat (limited to 'demos/declarative/samegame')
-rw-r--r-- | demos/declarative/samegame/SameGame.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/declarative/samegame/SameGame.qml b/demos/declarative/samegame/SameGame.qml index 1788341..3b80692 100644 --- a/demos/declarative/samegame/SameGame.qml +++ b/demos/declarative/samegame/SameGame.qml @@ -5,6 +5,7 @@ import "content" Rect { id: page; width: 460; height: 700; color: activePalette.window Script { source: "content/samegame.js" } + Palette { id: activePalette; colorGroup: "Active" } Rect { id: gameCanvas property int score: 0 |