From 4c7d8f663ee98751da0f8264ea1d49799463f0bf Mon Sep 17 00:00:00 2001 From: llornkcor Date: Wed, 09 Oct 2002 23:36:52 +0000 Subject: remove op2 crash feature when cancelling playlist save --- (limited to 'noncore/multimedia') 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() { // qDebug( list ); m3uList->write(); m3uList->close(); - - } if(m3uList) delete m3uList; + if(fileDlg) delete fileDlg; DocLnk lnk; @@ -923,6 +922,8 @@ void PlayListWidget::writem3u() { } setCaption(tr("OpiePlayer: ") + name); + } + } void PlayListWidget::keyReleaseEvent( QKeyEvent *e ) { -- cgit v0.9.0.2