summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/volumeapplet2/volumeapplet.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/applets/volumeapplet2/volumeapplet.cpp b/noncore/applets/volumeapplet2/volumeapplet.cpp
index 2122007..946616f 100644
--- a/noncore/applets/volumeapplet2/volumeapplet.cpp
+++ b/noncore/applets/volumeapplet2/volumeapplet.cpp
@@ -172,6 +172,8 @@ int VolumeApplet::position()
void VolumeApplet::paintEvent( QPaintEvent* )
{
- QPainter p ( this );
+ QPainter p(this);
+ p.drawPixmap(0, 2, _pixmap );
+/*
p. drawPixmap ( (width()- _pixmap->width())/2, QMAX( (height()-4-_pixmap->height() )/2, 1), *_pixmap );
p. setPen ( darkGray );
@@ -185,4 +187,5 @@ void VolumeApplet::paintEvent( QPaintEvent* )
p. fillRect ( 2, height() - 3, pixelsWide, 2, red );
p. fillRect ( pixelsWide + 2, height() - 3, width() - 4 - pixelsWide, 2, lightGray );
+*/
// if ( _control-> volMuted ( )) {