author | llornkcor <llornkcor> | 2003-04-26 02:02:26 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-26 02:02:26 (UTC) |
commit | 908a099ba19192dcb341959125efce6cf0df20f1 (patch) (side-by-side diff) | |
tree | ad59a689d097b1a4ffccb3ca849e936c48a9cad0 /core/multimedia/opieplayer | |
parent | 4a5b422ef2410d89aa1c3624da2ead151d815ecd (diff) | |
download | opie-908a099ba19192dcb341959125efce6cf0df20f1.zip opie-908a099ba19192dcb341959125efce6cf0df20f1.tar.gz opie-908a099ba19192dcb341959125efce6cf0df20f1.tar.bz2 |
change playlist file access mode when writing
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index 795feaf..c6de5e6 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp @@ -1268,7 +1268,7 @@ void PlayListWidget::writem3u() { filename += ".m3u"; if( d->selectedFiles->first()) { - m3uList = new Om3u(filename, IO_ReadWrite); + m3uList = new Om3u(filename, IO_ReadWrite | IO_Truncate); do { m3uList->add( d->selectedFiles->current()->file()); |