on xenial help sign in
remove unexistent bottomItem use
commit9cea78e10dc1b076399c7b3d3cae74f497f1715f authorAlbert Astals Cid <albert.astals@canonical.com> dateMon 16 Nov 2015, 15:12 (11 years ago) parentd14f9b1
1 file changed+1−7
qml/Dash/DashPageHeader.qml+1−7
qml/Dash/DashPageHeader.qml+1−7
@@ -420,15 +420,9 @@ Item {
420420 height: units.dp(1)
421421 opacity: 0.6
422422
423− // FIXME this should be a shader when bottomItem exists
424− // to support image backgrounds
425423 Rectangle {
426424 anchors.fill: parent
427− color: if (bottomItem && bottomItem.background) {
428− Qt.lighter(Qt.rgba(bottomItem.background.topColor.r,
429− bottomItem.background.topColor.g,
430− bottomItem.background.topColor.b, 1.0), 1.2);
431− } else if (!bottomItem && root.scopeStyle) {
425+ color: if (root.scopeStyle) {
432426 Qt.lighter(Qt.rgba(root.scopeStyle.background.r,
433427 root.scopeStyle.background.g,
434428 root.scopeStyle.background.b, 1.0), 1.2);