summaryrefslogtreecommitdiff
path: root/tests/manual
diff options
context:
space:
mode:
authorMarko Niemelä <marko.a.niemela@nokia.com>2012-03-07 15:55:21 +0200
committerQt by Nokia <qt-info@nokia.com>2012-03-14 09:03:37 +0100
commit56abf8b16ff7164b5eabacb686ebc42aa6bdc6d0 (patch)
tree9fab1fbf3ef73be01d99309d385452bce7268224 /tests/manual
parent6b197652ab0ff60b151f69fb965355d6ece491a5 (diff)
downloadqtgraphicaleffects-56abf8b16ff7164b5eabacb686ebc42aa6bdc6d0.tar.gz
Fixed RectangularGlow cache mode.
Effect internal cache was incorreclty sized according to parent, not shaderItem as it should be. Change-Id: I7d9c8c034b9c0e4f5a8f65c223cd0b82ed807691 Reviewed-by: Kim Gronholm <kim.1.gronholm@nokia.com>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/testbed/TestRectangularGlow.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/manual/testbed/TestRectangularGlow.qml b/tests/manual/testbed/TestRectangularGlow.qml
index 60f6cb2..c7a0587 100644
--- a/tests/manual/testbed/TestRectangularGlow.qml
+++ b/tests/manual/testbed/TestRectangularGlow.qml
@@ -52,6 +52,7 @@ TestCaseTemplate {
visible: enabledCheckBox.selected
opacity: opacitySlider.value
cornerRadius: radiusSlider.value
+ cached: cachedCheckBox.selected
}
Rectangle {
@@ -122,6 +123,10 @@ TestCaseTemplate {
text: fps
}
CheckBox {
+ id: cachedCheckBox
+ caption: "cached"
+ }
+ CheckBox {
id: enabledCheckBox
caption: "enabled"
}