diff options
author | Marko Niemelä <marko.a.niemela@nokia.com> | 2012-01-16 13:06:28 +0200 |
---|---|---|
committer | Marko Niemelä <marko.a.niemela@nokia.com> | 2012-01-16 13:06:28 +0200 |
commit | 3657d0ab5ff2914b3d62afdec28663019eec6274 (patch) | |
tree | dfee23edb99e9680e840ef92a4244d924a5e7abd /tests/auto/tst_qtgraphicaleffects.cpp | |
parent | 9f5afd555422a4168b05b6d78d799d4c15750dc6 (diff) |
Renamed BlendEffect property backgroundSource -> source
Diffstat (limited to 'tests/auto/tst_qtgraphicaleffects.cpp')
-rw-r--r-- | tests/auto/tst_qtgraphicaleffects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/tst_qtgraphicaleffects.cpp b/tests/auto/tst_qtgraphicaleffects.cpp index bb972d5..5835876 100644 --- a/tests/auto/tst_qtgraphicaleffects.cpp +++ b/tests/auto/tst_qtgraphicaleffects.cpp @@ -523,7 +523,7 @@ void tst_qtgraphicaleffects::blend() QString componentStr = "import QtQuick 2.0\n" "import QtGraphicalEffects 1.0\n" "Blend {" - "backgroundSource: ShaderEffectSource {sourceItem: Rectangle {width: 100; height: 100}}" + "source: ShaderEffectSource {sourceItem: Rectangle {width: 100; height: 100}}" "foregroundSource: ShaderEffectSource {sourceItem: Rectangle {width: 100; height: 100}}" "width: 50; height: 50\n" "}"; @@ -534,7 +534,7 @@ void tst_qtgraphicaleffects::blend() QVERIFY(obj != 0); // Default values - QCOMPARE(obj->property("backgroundSource").toInt(), 0); + QCOMPARE(obj->property("source").toInt(), 0); QCOMPARE(obj->property("foregroundSource").toInt(), 0); QCOMPARE(obj->property("cached").toBool(), false); QCOMPARE(obj->property("mode").toString(), QString("normal")); |