author | simon <simon> | 2002-12-02 23:33:37 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 23:33:37 (UTC) |
commit | c3c95ff297355f7024c15134bbc1d15d340bf8fd (patch) (side-by-side diff) | |
tree | ad5ed1eef8ad82d53aef634bfa4b247210200c20 | |
parent | 22e232bdb4bae5e28013a4d14bfda3c068827557 (diff) | |
download | opie-c3c95ff297355f7024c15134bbc1d15d340bf8fd.zip opie-c3c95ff297355f7024c15134bbc1d15d340bf8fd.tar.gz opie-c3c95ff297355f7024c15134bbc1d15d340bf8fd.tar.bz2 |
- I better be a good boy and delete what I allocate :)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp index 8acc488..06b1a04 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp @@ -55,16 +55,18 @@ MediaPlayer::MediaPlayer( PlayListWidget &_playList, MediaPlayerState &_mediaPla Config cfg( "OpiePlayer" ); cfg.setGroup("PlayList"); QString currentPlaylist = cfg.readEntry( "CurrentPlaylist", "default"); playList.setCaption( tr( "OpiePlayer: " ) + QFileInfo(currentPlaylist).baseName() ); } MediaPlayer::~MediaPlayer() { delete xineControl; + delete audioUI; + delete videoUI; delete volControl; } void MediaPlayer::pauseCheck( bool b ) { if ( b && !mediaPlayerState.isPlaying() ) { mediaPlayerState.setPaused( FALSE ); } } |