summaryrefslogtreecommitdiffstats
path: root/examples/declarative-music-browser/MusicBrowserCore/AlbumDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative-music-browser/MusicBrowserCore/AlbumDelegate.qml')
-rw-r--r--examples/declarative-music-browser/MusicBrowserCore/AlbumDelegate.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/declarative-music-browser/MusicBrowserCore/AlbumDelegate.qml b/examples/declarative-music-browser/MusicBrowserCore/AlbumDelegate.qml
index 7d9fb3e1d1..18dfcc4d0e 100644
--- a/examples/declarative-music-browser/MusicBrowserCore/AlbumDelegate.qml
+++ b/examples/declarative-music-browser/MusicBrowserCore/AlbumDelegate.qml
@@ -45,6 +45,7 @@ Package {
property string state
property int viewWidth: 0
property int viewHeight: 0
+ property string artist
signal clicked
@@ -192,7 +193,7 @@ Package {
model: DocumentGalleryModel {
rootType: DocumentGallery.Audio
rootItem: itemId
- properties: [ "trackNumber", "title", "duration" ]
+ properties: [ "trackNumber", "title", "duration", "AlbumArtist" ]
sortProperties: [ "trackNumber" ]
}
delegate: SongDelegate { width: songColumn.width }
@@ -207,7 +208,7 @@ Package {
model: DocumentGalleryModel {
rootType: DocumentGallery.Audio
rootItem: itemId
- properties: [ "trackNumber", "title", "duration" ]
+ properties: [ "trackNumber", "title", "duration", "AlbumArtist" ]
sortProperties: [ "trackNumber" ]
}
delegate: SongDelegate { width: parent.width }