author | llornkcor <llornkcor> | 2002-05-12 11:55:48 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-12 11:55:48 (UTC) |
commit | b0be5b91c09e3a85de1042c973f17ba3d6897084 (patch) (unidiff) | |
tree | c495d1041295d1487feb40db211781ffc3852e75 /core/multimedia | |
parent | 6f19bc4691ec2c0ebbe36fc1aff09e879564fe7d (diff) | |
download | opie-b0be5b91c09e3a85de1042c973f17ba3d6897084.zip opie-b0be5b91c09e3a85de1042c973f17ba3d6897084.tar.gz opie-b0be5b91c09e3a85de1042c973f17ba3d6897084.tar.bz2 |
don't show blank entries in tags
-rw-r--r-- | core/multimedia/opieplayer/libmad/libmadplugin.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmadplugin.cpp b/core/multimedia/opieplayer/libmad/libmadplugin.cpp index b06cdaa..0adb503 100644 --- a/core/multimedia/opieplayer/libmad/libmadplugin.cpp +++ b/core/multimedia/opieplayer/libmad/libmadplugin.cpp | |||
@@ -38,3 +38,2 @@ | |||
38 | #include <qmessagebox.h> | 38 | #include <qmessagebox.h> |
39 | #include <qregexp.h> | ||
40 | 39 | ||
@@ -823,5 +822,7 @@ void LibMadPlugin::printID3Tags() { | |||
823 | char push2 = *ptr3; *ptr3 = '\0'; | 822 | char push2 = *ptr3; *ptr3 = '\0'; |
824 | if ( strcmp( ptr, "" ) ) | 823 | if ( strcmp( ptr, "" ) ) { |
824 | if( ((QString)ptr).find(" ") == -1) // don't add anything that has blanks | ||
825 | info += ( i != 0 ? ", " : "" ) + label[i] + ": " + ptr; | 825 | info += ( i != 0 ? ", " : "" ) + label[i] + ": " + ptr; |
826 | //qDebug( info.latin1() ); | 826 | } |
827 | // qDebug( info.latin1() ); | ||
827 | *ptr3 = push2; | 828 | *ptr3 = push2; |