summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp2
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
@@ -217,7 +217,7 @@ void AudioWidget::resizeEvent( QResizeEvent * ) {
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] );