summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp
index bb07882..78079dd 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.cpp
+++ b/noncore/multimedia/opieplayer2/audiowidget.cpp
@@ -111,25 +111,6 @@ AudioWidget::~AudioWidget() {
111// mediaPlayerState->setPlaying(false); 111// mediaPlayerState->setPlaying(false);
112} 112}
113 113
114namespace {
115
116QPixmap combineImageWithBackground( QImage img, QPixmap bg, QPoint offset ) {
117 QPixmap pix( img.width(), img.height() );
118 QPainter p( &pix );
119 p.drawTiledPixmap( pix.rect(), bg, offset );
120 p.drawImage( 0, 0, img );
121 return pix;
122}
123
124
125QPixmap maskPixToMask( QPixmap pix, QBitmap mask ) {
126 QPixmap pixmap( pix );
127 pixmap.setMask( mask );
128 return pixmap;
129}
130
131};
132
133void AudioWidget::resizeEvent( QResizeEvent *e ) { 114void AudioWidget::resizeEvent( QResizeEvent *e ) {
134 int h = height(); 115 int h = height();
135 int w = width(); 116 int w = width();