-rw-r--r-- | core/applets/volumeapplet/volume.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp index 23c847d..11ba2f6 100644 --- a/core/applets/volumeapplet/volume.cpp +++ b/core/applets/volumeapplet/volume.cpp | |||
@@ -274,3 +274,5 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa | |||
274 | upButton-> setSizePolicy ( QSizePolicy ( QSizePolicy::Minimum, QSizePolicy::Expanding )); | 274 | upButton-> setSizePolicy ( QSizePolicy ( QSizePolicy::Minimum, QSizePolicy::Expanding )); |
275 | upButton-> setPixmap ( Resource::loadPixmap ( "up" )); | 275 | QPixmap pic; |
276 | pic.convertFromImage( Resource::loadImage( "up" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | ||
277 | upButton-> setPixmap ( pic ); | ||
276 | upButton-> setFocusPolicy ( QWidget::NoFocus ); | 278 | upButton-> setFocusPolicy ( QWidget::NoFocus ); |
@@ -281,3 +283,4 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa | |||
281 | downButton-> setSizePolicy ( QSizePolicy ( QSizePolicy::Minimum, QSizePolicy::Expanding )); | 283 | downButton-> setSizePolicy ( QSizePolicy ( QSizePolicy::Minimum, QSizePolicy::Expanding )); |
282 | downButton-> setPixmap ( Resource::loadPixmap ( "down" )); | 284 | pic.convertFromImage( Resource::loadImage( "down" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
285 | downButton-> setPixmap ( pic ); | ||
283 | downButton-> setFocusPolicy ( QWidget::NoFocus ); | 286 | downButton-> setFocusPolicy ( QWidget::NoFocus ); |
@@ -726,3 +729,5 @@ VolumeApplet::VolumeApplet( QWidget *parent, const char *name ) | |||
726 | 729 | ||
727 | m_pixmap = new QPixmap ( Resource::loadPixmap ( "volume" )); | 730 | QPixmap pic; |
731 | pic.convertFromImage( Resource::loadImage( "volume" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | ||
732 | m_pixmap = new QPixmap ( pic ); | ||
728 | m_dialog = new VolumeControl ( this, true, this, "volumecontrol" ); | 733 | m_dialog = new VolumeControl ( this, true, this, "volumecontrol" ); |