author | simon <simon> | 2002-12-09 16:46:49 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 16:46:49 (UTC) |
commit | 73278bac12a0af959fde6d12280ed08859a5abaf (patch) (unidiff) | |
tree | 5b6bb36801b1da079f6a3dbf31fe4173dd2ec7ba | |
parent | dbe0046eb82c8ee61ce7fc704d3b376730abc17f (diff) | |
download | opie-73278bac12a0af959fde6d12280ed08859a5abaf.zip opie-73278bac12a0af959fde6d12280ed08859a5abaf.tar.gz opie-73278bac12a0af959fde6d12280ed08859a5abaf.tar.bz2 |
- another global variable removed
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 4 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index 41844e1..26777e6 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp | |||
@@ -75,7 +75,7 @@ const uint buttonCount = sizeof( skinInfo ) / sizeof( skinInfo[ 0 ] ); | |||
75 | } | 75 | } |
76 | 76 | ||
77 | VideoWidget::VideoWidget( PlayListWidget &playList, MediaPlayerState &mediaPlayerState, QWidget* parent, const char* name ) | 77 | VideoWidget::VideoWidget( PlayListWidget &playList, MediaPlayerState &mediaPlayerState, QWidget* parent, const char* name ) |
78 | : MediaWidget( playList, mediaPlayerState, parent, name ), scaledWidth( 0 ), scaledHeight( 0 ) | 78 | : MediaWidget( playList, mediaPlayerState, parent, name ), scaledWidth( 0 ), scaledHeight( 0 ), videoSliderBeingMoved( false ) |
79 | { | 79 | { |
80 | setCaption( tr("OpiePlayer - Video") ); | 80 | setCaption( tr("OpiePlayer - Video") ); |
81 | 81 | ||
@@ -189,8 +189,6 @@ void VideoWidget::resizeEvent( QResizeEvent * ) { | |||
189 | delete pixDn; | 189 | delete pixDn; |
190 | } | 190 | } |
191 | 191 | ||
192 | static bool videoSliderBeingMoved = FALSE; | ||
193 | |||
194 | void VideoWidget::sliderPressed() { | 192 | void VideoWidget::sliderPressed() { |
195 | videoSliderBeingMoved = TRUE; | 193 | videoSliderBeingMoved = TRUE; |
196 | } | 194 | } |
diff --git a/noncore/multimedia/opieplayer2/videowidget.h b/noncore/multimedia/opieplayer2/videowidget.h index 7d50ea0..bed2116 100644 --- a/noncore/multimedia/opieplayer2/videowidget.h +++ b/noncore/multimedia/opieplayer2/videowidget.h | |||
@@ -94,6 +94,8 @@ private: | |||
94 | int scaledWidth; | 94 | int scaledWidth; |
95 | int scaledHeight; | 95 | int scaledHeight; |
96 | XineVideoWidget* videoFrame; | 96 | XineVideoWidget* videoFrame; |
97 | |||
98 | bool videoSliderBeingMoved; | ||
97 | }; | 99 | }; |
98 | 100 | ||
99 | #endif // VIDEO_WIDGET_H | 101 | #endif // VIDEO_WIDGET_H |