author | simon <simon> | 2002-12-09 13:24:25 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 13:24:25 (UTC) |
commit | 235ef0e11bfd61c0debb530de8598ae38a396914 (patch) (unidiff) | |
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 | |||
@@ -72,7 +72,9 @@ void changeTextColor( QWidget * w) { | |||
72 | 72 | ||
73 | AudioWidget::AudioWidget( PlayListWidget &playList, MediaPlayerState &mediaPlayerState, QWidget* parent, const char* name) : | 73 | AudioWidget::AudioWidget( PlayListWidget &playList, MediaPlayerState &mediaPlayerState, QWidget* parent, const char* name) : |
74 | 74 | ||
75 | MediaWidget( playList, mediaPlayerState, parent, name ), songInfo( this ), slider( Qt::Horizontal, this ), time( this ) { | 75 | MediaWidget( playList, mediaPlayerState, parent, name ), songInfo( this ), slider( Qt::Horizontal, this ), time( this ), |
76 | audioSliderBeingMoved( false ) | ||
77 | { | ||
76 | 78 | ||
77 | Button defaultButton; | 79 | Button defaultButton; |
78 | defaultButton.isToggle = defaultButton.isHeld = defaultButton.isDown = false; | 80 | defaultButton.isToggle = defaultButton.isHeld = defaultButton.isDown = false; |
@@ -232,9 +234,6 @@ void AudioWidget::resizeEvent( QResizeEvent * ) { | |||
232 | } | 234 | } |
233 | } | 235 | } |
234 | 236 | ||
235 | static bool audioSliderBeingMoved = FALSE; | ||
236 | |||
237 | |||
238 | void AudioWidget::sliderPressed() { | 237 | void AudioWidget::sliderPressed() { |
239 | audioSliderBeingMoved = TRUE; | 238 | audioSliderBeingMoved = TRUE; |
240 | } | 239 | } |
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 | |||
@@ -107,6 +107,7 @@ private: | |||
107 | QSlider slider; | 107 | QSlider slider; |
108 | QLineEdit time; | 108 | QLineEdit time; |
109 | bool isStreaming : 1; | 109 | bool isStreaming : 1; |
110 | bool audioSliderBeingMoved : 1; | ||
110 | }; | 111 | }; |
111 | 112 | ||
112 | 113 | ||