-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 @@ -37,5 +37,4 @@ #include <qapplication.h> #include <qmessagebox.h> -#include <qregexp.h> #include <qpe/config.h> @@ -822,7 +821,9 @@ void LibMadPlugin::printID3Tags() { while ( ptr3-1 >= ptr && isspace(ptr3[-1]) ) ptr3--; char push2 = *ptr3; *ptr3 = '\0'; - if ( strcmp( ptr, "" ) ) + if ( strcmp( ptr, "" ) ) { + if( ((QString)ptr).find(" ") == -1) // don't add anything that has blanks info += ( i != 0 ? ", " : "" ) + label[i] + ": " + ptr; - //qDebug( info.latin1() ); + } +// qDebug( info.latin1() ); *ptr3 = push2; *ptr2 = push; |