author | simon <simon> | 2002-12-09 13:42:19 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 13:42:19 (UTC) |
commit | 374d7ba11f669449900c7e93f7929d724eb85f26 (patch) (unidiff) | |
tree | 1372975b6953972e5ce622da5e967fd452be7f14 | |
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 | |||
@@ -214,13 +214,13 @@ void AudioWidget::resizeEvent( QResizeEvent * ) { | |||
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 | } |