-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 2081b4f..8659971 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -212,17 +212,17 @@ void AudioWidget::resizeEvent( QResizeEvent * ) { | |||
212 | 212 | ||
213 | upperLeftOfButtonMask.rx() = ( w - imgUp.width() ) / 2; | 213 | upperLeftOfButtonMask.rx() = ( w - imgUp.width() ) / 2; |
214 | upperLeftOfButtonMask.ry() = (( h - imgUp.height() ) / 2) - 10; | 214 | upperLeftOfButtonMask.ry() = (( h - imgUp.height() ) / 2) - 10; |
215 | QPoint p = upperLeftOfButtonMask; | 215 | QPoint p = upperLeftOfButtonMask; |
216 | 216 | ||
217 | QPixmap pixUp = combineImageWithBackground( imgUp, pixBg, p ); | 217 | QPixmap pixUp = combineImageWithBackground( imgUp, pixBg, p ); |
218 | QPixmap pixDn = combineImageWithBackground( imgDn, pixBg, p ); | 218 | QPixmap pixDn = combineImageWithBackground( imgDn, pixBg, p ); |
219 | 219 | ||
220 | for ( int i = 0; i < 10; i++ ) { | 220 | for ( uint i = 0; i < masks.size(); i++ ) { |
221 | if ( !masks[i].isNull() ) { | 221 | if ( !masks[i].isNull() ) { |
222 | buttonPixUp[i] = maskPixToMask( pixUp, masks[i] ); | 222 | buttonPixUp[i] = maskPixToMask( pixUp, masks[i] ); |
223 | buttonPixDown[i] = maskPixToMask( pixDn, masks[i] ); | 223 | buttonPixDown[i] = maskPixToMask( pixDn, masks[i] ); |
224 | } | 224 | } |
225 | } | 225 | } |
226 | } | 226 | } |
227 | 227 | ||
228 | void AudioWidget::sliderPressed() { | 228 | void AudioWidget::sliderPressed() { |