on xenial help sign in
Merge
ff38a9dAlbert Astals Cid
qml/Dash/DashPageHeader.qml+1−7
@@ -451,15 +451,9 @@ Item {
451 height: units.dp(1)
451 height: units.dp(1)
452 opacity: 0.6
452 opacity: 0.6
453
453
454− // FIXME this should be a shader when bottomItem exists
455− // to support image backgrounds
456 Rectangle {
454 Rectangle {
457 anchors.fill: parent
455 anchors.fill: parent
458− color: if (bottomItem && bottomItem.background) {
459− Qt.lighter(Qt.rgba(bottomItem.background.topColor.r,
460− bottomItem.background.topColor.g,
461− bottomItem.background.topColor.b, 1.0), 1.2);
462− } else if (!bottomItem && root.scopeStyle) {
456+ color: if (root.scopeStyle) {
463 Qt.lighter(Qt.rgba(root.scopeStyle.background.r,
457 Qt.lighter(Qt.rgba(root.scopeStyle.background.r,
464 root.scopeStyle.background.g,
458 root.scopeStyle.background.g,
465 root.scopeStyle.background.b, 1.0), 1.2);
459 root.scopeStyle.background.b, 1.0), 1.2);