author | simon <simon> | 2002-12-05 19:05:25 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-05 19:05:25 (UTC) |
commit | 4b77aaa27305f0ec120aa6ec4d860f62b7fa7a3f (patch) (side-by-side diff) | |
tree | e4ecf41fafccccd82534df6a1e46115727a9b49c /noncore/multimedia/opieplayer2/playlistwidget.cpp | |
parent | 05757f4914d19f9c392be1e60e5ec972027886bf (diff) | |
download | opie-4b77aaa27305f0ec120aa6ec4d860f62b7fa7a3f.zip opie-4b77aaa27305f0ec120aa6ec4d860f62b7fa7a3f.tar.gz opie-4b77aaa27305f0ec120aa6ec4d860f62b7fa7a3f.tar.bz2 |
- turned if ( foo ) delete foo; into straight delete foo; as the if is
redundant.
Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 86b3424..ac52b07 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -193,3 +193,3 @@ void PlayListWidget::writeDefaultPlaylist() { m3uList->close(); - if(m3uList) delete m3uList; + delete m3uList; @@ -686,6 +686,4 @@ void PlayListWidget::openFile() { - if( fileDlg ) { delete fileDlg; } -} @@ -736,3 +734,3 @@ void PlayListWidget::readm3u( const QString &filename ) { m3uList->close(); - if(m3uList) delete m3uList; + delete m3uList; @@ -784,3 +782,3 @@ void PlayListWidget::readPls( const QString &filename ) { m3uList->close(); - if(m3uList) delete m3uList; + delete m3uList; } @@ -808,3 +806,3 @@ void PlayListWidget::writeCurrentM3u() { - if(m3uList) delete m3uList; + delete m3uList; } @@ -844,5 +842,5 @@ void PlayListWidget::writem3u() { m3uList->close(); - if(m3uList) delete m3uList; + delete m3uList; - if(fileDlg) delete fileDlg; + delete fileDlg; |