author | simon <simon> | 2002-12-09 13:24:25 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 13:24:25 (UTC) |
commit | 235ef0e11bfd61c0debb530de8598ae38a396914 (patch) (side-by-side diff) | |
tree | ee014a888c1130707fadd890d2cc4fa492ed01cb | |
parent | 94a4c102d20eb63104a66fd8fba141a716ae3623 (diff) | |
download | opie-235ef0e11bfd61c0debb530de8598ae38a396914.zip opie-235ef0e11bfd61c0debb530de8598ae38a396914.tar.gz opie-235ef0e11bfd61c0debb530de8598ae38a396914.tar.bz2 |
- one global variable less
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 7 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.h | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 8f34736..adef247 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp @@ -74,3 +74,5 @@ AudioWidget::AudioWidget( PlayListWidget &playList, MediaPlayerState &mediaPlaye - MediaWidget( playList, mediaPlayerState, parent, name ), songInfo( this ), slider( Qt::Horizontal, this ), time( this ) { + MediaWidget( playList, mediaPlayerState, parent, name ), songInfo( this ), slider( Qt::Horizontal, this ), time( this ), + audioSliderBeingMoved( false ) +{ @@ -234,5 +236,2 @@ void AudioWidget::resizeEvent( QResizeEvent * ) { -static bool audioSliderBeingMoved = FALSE; - - void AudioWidget::sliderPressed() { diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h index 4598d51..8426490 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.h +++ b/noncore/multimedia/opieplayer2/audiowidget.h @@ -109,2 +109,3 @@ private: bool isStreaming : 1; + bool audioSliderBeingMoved : 1; }; |