summaryrefslogtreecommitdiffstats
path: root/src/gallery/symbian/qgallerymdsutility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallery/symbian/qgallerymdsutility.cpp')
-rw-r--r--src/gallery/symbian/qgallerymdsutility.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallery/symbian/qgallerymdsutility.cpp b/src/gallery/symbian/qgallerymdsutility.cpp
index fe832a81f3..69cc5727ca 100644
--- a/src/gallery/symbian/qgallerymdsutility.cpp
+++ b/src/gallery/symbian/qgallerymdsutility.cpp
@@ -1657,7 +1657,11 @@ CMdEPropertyDef *QDocumentGalleryMDSUtility::GetMDSPropertyDefL( const QString &
CMdEPropertyDef *QDocumentGalleryMDSUtility::GetMDSPropertyDefForMDS25L( const QString &property,
CMdENamespaceDef& defaultNameSpace )
{
- if (property == QDocumentGallery::fileSize.name()) {
+ if (property == QDocumentGallery::artist.name()) {
+ CMdEObjectDef& def = defaultNameSpace.GetObjectDefL( MdeConstants::MediaObject::KMediaObject );
+ CMdEPropertyDef& propDef = def.GetPropertyDefL( MdeConstants::MediaObject::KArtistProperty );
+ return &propDef;
+ } else if (property == QDocumentGallery::fileSize.name()) {
CMdEObjectDef& def = defaultNameSpace.GetObjectDefL( MdeConstants::Object::KBaseObject );
CMdEPropertyDef& propDef = def.GetPropertyDefL( MdeConstants::Object::KSizeProperty );
return &propDef;