author | harlekin <harlekin> | 2002-07-09 01:02:37 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-09 01:02:37 (UTC) |
commit | 577841e20b5657411194d74a143b0319fc05cda3 (patch) (unidiff) | |
tree | 0e41da19fff8e2f47d43612a96d503b49b6a6a0b /noncore/multimedia/opieplayer2/audiowidget.cpp | |
parent | 56554891922367c5d4e7d0f6965daa1026c0cc54 (diff) | |
download | opie-577841e20b5657411194d74a143b0319fc05cda3.zip opie-577841e20b5657411194d74a143b0319fc05cda3.tar.gz opie-577841e20b5657411194d74a143b0319fc05cda3.tar.bz2 |
more gui updates
Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 125fd72..303e56e 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -125,7 +125,7 @@ AudioWidget::AudioWidget(QWidget* parent, const char* name, WFlags f) : | |||
125 | } | 125 | } |
126 | 126 | ||
127 | AudioWidget::~AudioWidget() { | 127 | AudioWidget::~AudioWidget() { |
128 | mediaPlayerState->isStreaming = FALSE; | 128 | mediaPlayerState->setIsStreaming( FALSE ); |
129 | for ( int i = 0; i < 3; i++ ) { | 129 | for ( int i = 0; i < 3; i++ ) { |
130 | delete pixmaps[i]; | 130 | delete pixmaps[i]; |
131 | } | 131 | } |
@@ -161,7 +161,7 @@ void AudioWidget::setLength( long max ) { | |||
161 | 161 | ||
162 | 162 | ||
163 | void AudioWidget::setView( char view ) { | 163 | void AudioWidget::setView( char view ) { |
164 | if (mediaPlayerState->isStreaming) { | 164 | if (mediaPlayerState->streaming() ) { |
165 | if( !slider->isHidden()) slider->hide(); | 165 | if( !slider->isHidden()) slider->hide(); |
166 | disconnect( mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) ); | 166 | disconnect( mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) ); |
167 | disconnect( mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) ); | 167 | disconnect( mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) ); |