summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/om3u.cpp
authorllornkcor <llornkcor>2002-11-14 04:03:36 (UTC)
committer llornkcor <llornkcor>2002-11-14 04:03:36 (UTC)
commit736339b62f325652b71615b8c3fbc0b064fcf837 (patch) (side-by-side diff)
treecd739278da93b0092bcb6d947a8c43390df2aaa6 /noncore/multimedia/opieplayer2/om3u.cpp
parentabf6aa1c155e3d5df3092f4261edb7143656de7e (diff)
downloadopie-736339b62f325652b71615b8c3fbc0b064fcf837.zip
opie-736339b62f325652b71615b8c3fbc0b064fcf837.tar.gz
opie-736339b62f325652b71615b8c3fbc0b064fcf837.tar.bz2
takeout qDebugs
Diffstat (limited to 'noncore/multimedia/opieplayer2/om3u.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/om3u.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/om3u.cpp b/noncore/multimedia/opieplayer2/om3u.cpp
index 12fb16e..4617c59 100644
--- a/noncore/multimedia/opieplayer2/om3u.cpp
+++ b/noncore/multimedia/opieplayer2/om3u.cpp
@@ -60,13 +60,13 @@ Om3u::~Om3u(){}
void Om3u::readM3u() {
// qDebug("<<<<<<reading m3u "+f.name());
QTextStream t(&f);
QString s;
while ( !t.atEnd() ) {
s=t.readLine();
- qDebug(s);
+// qDebug(s);
if( s.find( "#", 0, TRUE) == -1 ) {
if( s.left(2) == "E:" || s.left(2) == "P:" ) {
s = s.right( s.length() -2 );
QFileInfo f( s );
QString name = f.baseName();
name = name.right( name.length() - name.findRev( "\\", -1, TRUE ) -1 );
@@ -125,13 +125,13 @@ void Om3u::readPls() { //it's a pls file
}
void Om3u::write() { //writes list to m3u file
QString list;
if(count()>0) {
for ( QStringList::ConstIterator it = begin(); it != end(); ++it ) {
- qDebug(*it);
+// qDebug(*it);
list += *it+"\n";
}
f.writeBlock( list, list.length() );
}
// f.close();
}