All pastes #2134655 Raw Edit

Something

public text v1 · immutable
#2134655 ·published 2012-04-02 01:47 UTC
rendered paste body
diff --git a/mythplugins/mythmusic/mythmusic/metadata.cpp b/mythplugins/mythmusic/mythmusic/metadata.cpp
index 0efd504..e8b6895 100644
--- a/mythplugins/mythmusic/mythmusic/metadata.cpp
+++ b/mythplugins/mythmusic/mythmusic/metadata.cpp
@@ -1378,7 +1378,8 @@ QString AlbumArtImages::getTypeName(ImageType type)
         QT_TR_NOOP("Artist"),             // IT_ARTIST
     };
 
-    return QObject::tr(type_strings[type]);
+    return QCoreApplication::translate("AlbumArtImages", 
+	                               type_strings[type]);
 }
 
 // static method to get a filename from an ImageType
@@ -1394,7 +1395,8 @@ QString AlbumArtImages::getTypeFilename(ImageType type)
         QT_TR_NOOP("artist")        // IT_ARTIST
     };
 
-    return QObject::tr(filename_strings[type]);
+    return QCoreApplication::translate("AlbumArtImages", 
+	                               filename_strings[type]);
 }
 
 // static method to guess the image type from the filename