on xenial help sign in
Merge
commitff38a9d4a1986fbbcaa0526651d5c2c2132ce4cd authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 17 Nov 2015, 11:33 (11 years ago) parentbf829cc5efcb1d
1 file changed+1−7
qml/Dash/DashPageHeader.qml+1−7
qml/Dash/DashPageHeader.qml+1−7
@@ -451,15 +451,9 @@ Item {
451451 height: units.dp(1)
452452 opacity: 0.6
453453
454− // FIXME this should be a shader when bottomItem exists
455− // to support image backgrounds
456454 Rectangle {
457455 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) {
463457 Qt.lighter(Qt.rgba(root.scopeStyle.background.r,
464458 root.scopeStyle.background.g,
465459 root.scopeStyle.background.b, 1.0), 1.2);