summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/effects/private/DropShadowBase.qml4
-rw-r--r--tests/auto/tst_qtgraphicaleffects.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/effects/private/DropShadowBase.qml b/src/effects/private/DropShadowBase.qml
index 3c2d8d8..8cc259c 100644
--- a/src/effects/private/DropShadowBase.qml
+++ b/src/effects/private/DropShadowBase.qml
@@ -49,8 +49,8 @@ Item {
property int radius: samples / 2
property int samples: 9
property color color: "black"
- property int horizontalOffset: 10
- property int verticalOffset: 10
+ property int horizontalOffset: 0
+ property int verticalOffset: 0
property real spread: 0.0
property bool cached: false
property bool transparentBorder: true
diff --git a/tests/auto/tst_qtgraphicaleffects.cpp b/tests/auto/tst_qtgraphicaleffects.cpp
index 01a4bc5..c676b9c 100644
--- a/tests/auto/tst_qtgraphicaleffects.cpp
+++ b/tests/auto/tst_qtgraphicaleffects.cpp
@@ -437,8 +437,8 @@ void tst_qtgraphicaleffects::dropShadow()
// Default values
QCOMPARE(obj->property("radius").toDouble(), 4.0);
QCOMPARE(obj->property("samples").toInt(), 9);
- QCOMPARE(obj->property("horizontalOffset").toDouble(), 10.0);
- QCOMPARE(obj->property("verticalOffset").toDouble(), 10.0);
+ QCOMPARE(obj->property("horizontalOffset").toDouble(), 0.0);
+ QCOMPARE(obj->property("verticalOffset").toDouble(), 0.0);
QCOMPARE(obj->property("cached").toBool(), false);
QCOMPARE(obj->property("source").toInt(), 0);
QCOMPARE(obj->property("color").toString(), QString("#000000"));