summaryrefslogtreecommitdiffstats
path: root/examples/declarative-music-browser/MusicBrowserCore/TypeDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative-music-browser/MusicBrowserCore/TypeDelegate.qml')
-rw-r--r--examples/declarative-music-browser/MusicBrowserCore/TypeDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative-music-browser/MusicBrowserCore/TypeDelegate.qml b/examples/declarative-music-browser/MusicBrowserCore/TypeDelegate.qml
index 7ba3303f45..be064dd1fb 100644
--- a/examples/declarative-music-browser/MusicBrowserCore/TypeDelegate.qml
+++ b/examples/declarative-music-browser/MusicBrowserCore/TypeDelegate.qml
@@ -67,7 +67,7 @@ Item {
id: countLabel
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: typeIcon.bottom
- text: typeInfo.metaData.count
+ text: parseInt(typeInfo.metaData.count) || 0
font.pointSize: 30
color: "gray"
}