author | llornkcor <llornkcor> | 2002-07-29 23:45:41 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-29 23:45:41 (UTC) |
commit | 0adb56cb2cd83e9933baa9776c77c4c637f93d04 (patch) (side-by-side diff) | |
tree | 13cba758a845d0a7ec079924c8fd71fb1fa416dc | |
parent | 121002ebe4cdebd99fcba5ec833c1c7b05bb8892 (diff) | |
download | opie-0adb56cb2cd83e9933baa9776c77c4c637f93d04.zip opie-0adb56cb2cd83e9933baa9776c77c4c637f93d04.tar.gz opie-0adb56cb2cd83e9933baa9776c77c4c637f93d04.tar.bz2 |
paintevent
-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 1fae689..689366e 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp @@ -408,17 +408,17 @@ void AudioWidget::showEvent( QShowEvent* ) { } void AudioWidget::closeEvent( QCloseEvent* ) { mediaPlayerState->setList(); } -void AudioWidget::paintEvent( QPaintEvent * ) { +void AudioWidget::paintEvent( QPaintEvent * pe) { if ( !pe->erased() ) { // Combine with background and double buffer QPixmap pix( pe->rect().size() ); QPainter p( &pix ); p.translate( -pe->rect().topLeft().x(), -pe->rect().topLeft().y() ); p.drawTiledPixmap( pe->rect(), *pixBg, pe->rect().topLeft() ); for ( int i = 0; i < numButtons; i++ ) paintButton( &p, i ); |