author | llornkcor <llornkcor> | 2002-10-09 23:36:52 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-09 23:36:52 (UTC) |
commit | 4c7d8f663ee98751da0f8264ea1d49799463f0bf (patch) (unidiff) | |
tree | b2fd7207dd9b59643b144aca03098e7b10550c5c | |
parent | d624bf47913f76c881f28c6498cec4ad3c007a9b (diff) | |
download | opie-4c7d8f663ee98751da0f8264ea1d49799463f0bf.zip opie-4c7d8f663ee98751da0f8264ea1d49799463f0bf.tar.gz opie-4c7d8f663ee98751da0f8264ea1d49799463f0bf.tar.bz2 |
remove op2 crash feature when cancelling playlist save
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 5 |
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 | |||
@@ -901,9 +901,8 @@ void PlayListWidget::writem3u() { | |||
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; |
@@ -925,6 +924,8 @@ void PlayListWidget::writem3u() { | |||
925 | setCaption(tr("OpiePlayer: ") + name); | 924 | setCaption(tr("OpiePlayer: ") + name); |
926 | } | 925 | } |
927 | 926 | ||
927 | } | ||
928 | |||
928 | void PlayListWidget::keyReleaseEvent( QKeyEvent *e ) { | 929 | void PlayListWidget::keyReleaseEvent( QKeyEvent *e ) { |
929 | switch ( e->key() ) { | 930 | switch ( e->key() ) { |
930 | ////////////////////////////// Zaurus keys | 931 | ////////////////////////////// Zaurus keys |