summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -901,9 +901,8 @@ void PlayListWidget::writem3u() {
// qDebug( list );
m3uList->write();
m3uList->close();
-
- }
if(m3uList) delete m3uList;
+
if(fileDlg) delete fileDlg;
DocLnk lnk;
@@ -925,6 +924,8 @@ void PlayListWidget::writem3u() {
setCaption(tr("OpiePlayer: ") + name);
}
+}
+
void PlayListWidget::keyReleaseEvent( QKeyEvent *e ) {
switch ( e->key() ) {
////////////////////////////// Zaurus keys