-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.cpp b/noncore/multimedia/opieplayer2/mediawidget.cpp index 1d18d6f..ca84019 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.cpp +++ b/noncore/multimedia/opieplayer2/mediawidget.cpp | |||
@@ -65,8 +65,14 @@ bool MediaWidget::isOverButton( const QPoint &position, int buttonId ) const | |||
65 | return ( position.x() > 0 && position.y() > 0 && | 65 | return ( position.x() > 0 && position.y() > 0 && |
66 | position.x() < buttonMask.width() && | 66 | position.x() < buttonMask.width() && |
67 | position.y() < buttonMask.height() && | 67 | position.y() < buttonMask.height() && |
68 | buttonMask.pixelIndex( position.x(), position.y() ) == buttonId + 1 ); | 68 | buttonMask.pixelIndex( position.x(), position.y() ) == buttonId + 1 ); |
69 | } | 69 | } |
70 | 70 | ||
71 | void MediaWidget::repaintButton( int buttonId ) | ||
72 | { | ||
73 | QPainter p( this ); | ||
74 | paintButton( p, buttonId ); | ||
75 | } | ||
76 | |||
71 | /* vim: et sw=4 ts=4 | 77 | /* vim: et sw=4 ts=4 |
72 | */ | 78 | */ |