From e16d333ec2e8509fc665921ca106c25325bae9e0 Mon Sep 17 00:00:00 2001 From: kergoth Date: Sat, 09 Aug 2003 16:24:58 +0000 Subject: Merge from BRANCH_1_0 --- (limited to 'noncore/multimedia/opieplayer2/om3u.cpp') diff --git a/noncore/multimedia/opieplayer2/om3u.cpp b/noncore/multimedia/opieplayer2/om3u.cpp index 841d950..7183fb4 100644 --- a/noncore/multimedia/opieplayer2/om3u.cpp +++ b/noncore/multimedia/opieplayer2/om3u.cpp @@ -74,15 +74,9 @@ void Om3u::readM3u() { append(s); // qDebug(s); } else { // is url - s.replace( QRegExp( "%20" )," " ); QString name; -// if( name.left( 4 ) == "http" ) { -// name = s.right( s.length() - 7 ); -// } else { - name = s; -// } + name = s; append(name); -// qDebug(name); } } } @@ -147,7 +141,7 @@ void Om3u::remove(const QString &filePath) { //removes from m3u list for ( QStringList::ConstIterator it = begin(); it != end(); ++it ) { currentFile=*it; // qDebug(*it); - + if( filePath != currentFile) list += currentFile+"\n"; } -- cgit v0.9.0.2