author | simon <simon> | 2002-12-09 13:42:19 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 13:42:19 (UTC) |
commit | 374d7ba11f669449900c7e93f7929d724eb85f26 (patch) (side-by-side diff) | |
tree | 1372975b6953972e5ce622da5e967fd452be7f14 /noncore | |
parent | d0d993b584bba77905955466897a50cea758103c (diff) | |
download | opie-374d7ba11f669449900c7e93f7929d724eb85f26.zip opie-374d7ba11f669449900c7e93f7929d724eb85f26.tar.gz opie-374d7ba11f669449900c7e93f7929d724eb85f26.tar.bz2 |
- another hardcoded number removed :)
-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 @@ -217,7 +217,7 @@ void AudioWidget::resizeEvent( QResizeEvent * ) { QPixmap pixUp = combineImageWithBackground( imgUp, pixBg, p ); QPixmap pixDn = combineImageWithBackground( imgDn, pixBg, p ); - for ( int i = 0; i < 10; i++ ) { + for ( uint i = 0; i < masks.size(); i++ ) { if ( !masks[i].isNull() ) { buttonPixUp[i] = maskPixToMask( pixUp, masks[i] ); buttonPixDown[i] = maskPixToMask( pixDn, masks[i] ); |