summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index d53c423..e28efd0 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -900,11 +900,10 @@ void PlayListWidget::writem3u() {
900 while ( d->selectedFiles->next() ); 900 while ( d->selectedFiles->next() );
901// qDebug( list ); 901// qDebug( list );
902 m3uList->write(); 902 m3uList->write();
903 m3uList->close(); 903 m3uList->close();
904
905 }
906 if(m3uList) delete m3uList; 904 if(m3uList) delete m3uList;
905
907 if(fileDlg) delete fileDlg; 906 if(fileDlg) delete fileDlg;
908 907
909 DocLnk lnk; 908 DocLnk lnk;
910 lnk.setFile( filename); 909 lnk.setFile( filename);
@@ -922,8 +921,10 @@ void PlayListWidget::writem3u() {
922 qDebug("Writing doclink did not work"); 921 qDebug("Writing doclink did not work");
923 } 922 }
924 923
925 setCaption(tr("OpiePlayer: ") + name); 924 setCaption(tr("OpiePlayer: ") + name);
925 }
926
926} 927}
927 928
928void PlayListWidget::keyReleaseEvent( QKeyEvent *e ) { 929void PlayListWidget::keyReleaseEvent( QKeyEvent *e ) {
929 switch ( e->key() ) { 930 switch ( e->key() ) {