only show ccli number if present

This commit is contained in:
Andreas Preikschat 2011-02-06 20:53:08 +01:00
parent a5a394a290
commit 8e36c7a7ec

View File

@ -378,6 +378,8 @@ class SongMediaItem(MediaManagerItem):
raw_footer.append(song.title)
raw_footer.append(author_list)
raw_footer.append(song.copyright)
if QtCore.QSettings().value(u'general/ccli number',
QtCore.QVariant(u'')).toString():
raw_footer.append(unicode(
translate('SongsPlugin.MediaItem', 'CCLI License: ') +
QtCore.QSettings().value(u'general/ccli number',