~aacid/unity8/card_optimizations

« back to all changes in this revision

Viewing changes to qml/Dash/Card.qml

  • Committer: Albert Astals
  • Date: 2014-04-16 11:04:49 UTC
  • Revision ID: albert.astals@canonical.com-20140416110449-kj2t61esh93zyxlt
Get rid of some warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
        sourceComponent: ShaderEffect {
139
139
            id: overlay
140
140
 
141
 
            height: headerLoader.item.height
142
 
            opacity: headerLoader.item.opacity * 0.6
 
141
            height: headerLoader.item ? headerLoader.item.height : 0
 
142
            opacity: headerLoader.item ? headerLoader.item.opacity * 0.6 : 0
143
143
 
144
144
            property var source: ShaderEffectSource {
145
145
                id: shaderSource