summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-05-26 03:00:52 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-05-26 03:00:53 +0200
commit6ab6f7a1be455d2f56c8f250c349b401056e5580 (patch)
tree52f8c8c2e418b4bfe6c6d7fec843e387d175fdd4 /src
parenta2b9b53b8ec20199a440d574bac0ba7fb1c1042f (diff)
parent4aec7d14d57b10f7fc503644d3cad44d9f166322 (diff)
Merge remote-tracking branch 'origin/5.11' into dev
Diffstat (limited to 'src')
-rw-r--r--src/controls/Styles/Base/StatusIndicatorStyle.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Styles/Base/StatusIndicatorStyle.qml b/src/controls/Styles/Base/StatusIndicatorStyle.qml
index c12ab507a..a334aa621 100644
--- a/src/controls/Styles/Base/StatusIndicatorStyle.qml
+++ b/src/controls/Styles/Base/StatusIndicatorStyle.qml
@@ -204,7 +204,7 @@ Style {
gradient.addColorStop(1.0, "transparent");
} else {
// Draw the radial shine.
- gradient = ctx.createRadialGradient(width / 2, height / 2, width * 0.25, width / 2, height / 2, width * 0.25);
+ gradient = ctx.createRadialGradient(width / 2, height / 2, 0, width / 2, height / 2, width * 0.5 /* (same as height) */);
gradient.addColorStop(0.0, Qt.lighter(baseColor, 1.4));
gradient.addColorStop(1.0, "transparent");
}