on xenial help sign in
Synced qml/Stages/MainViewStyle.qml with latest toolkit.
43b95a0Florian Boucault
qml/Stages/MainViewStyle.qml+3−1
@@ -27,7 +27,7 @@ Item {
27 The background texture of the main view. The image will be drawn over the background color,
27 The background texture of the main view. The image will be drawn over the background color,
28 so if it has (semi-)transparent pixels, in those pixels the background color will be visible.
28 so if it has (semi-)transparent pixels, in those pixels the background color will be visible.
29 */
29 */
30− property url backgroundSource: (ColorUtils.luminance(styledItem.backgroundColor) >= 0.85) ? "graphics/background_paper.png" : ""
30+ property url backgroundSource: "artwork/background_paper.png"
31 property var theme
31 property var theme
32
32
33 Gradient {
33 Gradient {
@@ -49,6 +49,8 @@ Item {
49 anchors.fill: parent
49 anchors.fill: parent
50 source: mainViewStyle.backgroundSource
50 source: mainViewStyle.backgroundSource
51 fillMode: Image.Tile
51 fillMode: Image.Tile
52+ asynchronous: true
53+ cache: false
52 }
54 }
53
55
54 QtObject {
56 QtObject {