summaryrefslogtreecommitdiff
path: root/core
authorzecke <zecke>2004-12-20 22:00:31 (UTC)
committer zecke <zecke>2004-12-20 22:00:31 (UTC)
commit086e832c16265a086e455ead0e5a64f61e2078e7 (patch) (unidiff)
tree787cf43b3d5a1ef71d45bc16b205632eec0f82fb /core
parent5f35158ba0e7c2813768aaab6d6ad478dc0271a1 (diff)
downloadopie-086e832c16265a086e455ead0e5a64f61e2078e7.zip
opie-086e832c16265a086e455ead0e5a64f61e2078e7.tar.gz
opie-086e832c16265a086e455ead0e5a64f61e2078e7.tar.bz2
Kill unneeded parameter
Diffstat (limited to 'core') (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/om3u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/om3u.cpp b/core/multimedia/opieplayer/om3u.cpp
index 95ed03c..7149a8e 100644
--- a/core/multimedia/opieplayer/om3u.cpp
+++ b/core/multimedia/opieplayer/om3u.cpp
@@ -140,25 +140,25 @@ void Om3u::add(const QString &filePath) { //adds to m3u file
140} 140}
141 141
142void Om3u::remove(const QString &filePath) { //removes from m3u list 142void Om3u::remove(const QString &filePath) { //removes from m3u list
143 QString list, currentFile; 143 QString list, currentFile;
144 if(count()>0) { 144 if(count()>0) {
145 for ( QStringList::ConstIterator it = begin(); it != end(); ++it ) { 145 for ( QStringList::ConstIterator it = begin(); it != end(); ++it ) {
146 currentFile=*it; 146 currentFile=*it;
147 // odebug << *it << oendl; 147 // odebug << *it << oendl;
148 148
149 if( filePath != currentFile) 149 if( filePath != currentFile)
150 list += currentFile+"\n"; 150 list += currentFile+"\n";
151 } 151 }
152 f.writeBlock( list, list.length() ); 152 f.writeBlock( list, list.length() );
153 } 153 }
154} 154}
155 155
156void Om3u::deleteFile(const QString &filePath) {//deletes m3u file 156void Om3u::deleteFile(const QString &) {//deletes m3u file
157 f.close(); 157 f.close();
158 f.remove(); 158 f.remove();
159 159
160} 160}
161 161
162void Om3u::close() { //closes m3u file 162void Om3u::close() { //closes m3u file
163 f.close(); 163 f.close();
164} 164}