Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/lockscreen/MediaControls.qml
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | 41 | PlasmaCore.DataSource { | |||
---|---|---|---|---|---|
93 | } | 93 | } | ||
94 | } | 94 | } | ||
95 | 95 | | |||
96 | Image { | 96 | Image { | ||
97 | id: albumArt | 97 | id: albumArt | ||
98 | Layout.preferredWidth: height | 98 | Layout.preferredWidth: height | ||
99 | Layout.fillHeight: true | 99 | Layout.fillHeight: true | ||
100 | asynchronous: true | 100 | asynchronous: true | ||
101 | fillMode: Image.PreserveAspectFit | ||||
101 | source: mpris2Source.albumArt | 102 | source: mpris2Source.albumArt | ||
102 | sourceSize: Qt.size(width, height) | 103 | sourceSize: Qt.size(width, height) | ||
103 | visible: status === Image.Loading || status === Image.Ready | 104 | visible: status === Image.Loading || status === Image.Ready | ||
104 | } | 105 | } | ||
105 | 106 | | |||
106 | Item { // spacer | 107 | Item { // spacer | ||
107 | width: units.smallSpacing | 108 | width: units.smallSpacing | ||
108 | height: 1 | 109 | height: 1 | ||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |