summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediawidget.cpp6
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
@@ -67,6 +67,12 @@ bool MediaWidget::isOverButton( const QPoint &position, int buttonId ) const
position.y() < buttonMask.height() &&
buttonMask.pixelIndex( position.x(), position.y() ) == buttonId + 1 );
}
+void MediaWidget::repaintButton( int buttonId )
+{
+ QPainter p( this );
+ paintButton( p, buttonId );
+}
+
/* vim: et sw=4 ts=4
*/