diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-11-05 06:56:14 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-11-05 06:56:14 (GMT) |
commit | 01d7ae66da344f9aaef039310ac241015ec4cad5 (patch) | |
tree | 1a139bf43529f8900264f6f6eff2bdf384353684 /examples/declarative/dynamic | |
parent | a1f47211146629f702457150235da4475c1163ed (diff) | |
download | Qt-01d7ae66da344f9aaef039310ac241015ec4cad5.zip Qt-01d7ae66da344f9aaef039310ac241015ec4cad5.tar.gz Qt-01d7ae66da344f9aaef039310ac241015ec4cad5.tar.bz2 |
Use darker() and lighter() functions from global Qt object rather than from SystemPalette.
Diffstat (limited to 'examples/declarative/dynamic')
-rw-r--r-- | examples/declarative/dynamic/dynamic.qml | 2 | ||||
-rw-r--r-- | examples/declarative/dynamic/qml/Button.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/dynamic/dynamic.qml b/examples/declarative/dynamic/dynamic.qml index 0166b4c..f420a1c 100644 --- a/examples/declarative/dynamic/dynamic.qml +++ b/examples/declarative/dynamic/dynamic.qml @@ -46,7 +46,7 @@ Item { ColorAnimation { duration: 3000 } } - SystemPalette { id: activePalette; colorGroup: Qt.Active } + SystemPalette { id: activePalette } // toolbox Rectangle { diff --git a/examples/declarative/dynamic/qml/Button.qml b/examples/declarative/dynamic/qml/Button.qml index 2769cd8..cf2ffa7 100644 --- a/examples/declarative/dynamic/qml/Button.qml +++ b/examples/declarative/dynamic/qml/Button.qml @@ -6,7 +6,7 @@ Rectangle { property var text signal clicked - SystemPalette { id: activePalette; colorGroup: Qt.Active } + SystemPalette { id: activePalette } height: text.height + 10 width: text.width + 20 border.width: 1 |