From 8a1c307f9dfc26a31d42f29f29a5b1c048b99102 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Fri, 01 Apr 2005 23:30:07 +0000 Subject: scale O-Menu-Applet pixmaps according to AppLnk::smallIconSize --- (limited to 'core/applets/homeapplet/home.cpp') diff --git a/core/applets/homeapplet/home.cpp b/core/applets/homeapplet/home.cpp index 8a930be..02d1265 100644 --- a/core/applets/homeapplet/home.cpp +++ b/core/applets/homeapplet/home.cpp @@ -1,11 +1,11 @@ +#include "home.h" + +#include #include #include #include -#include "home.h" - - HomeApplet::HomeApplet ( ) : QObject ( 0, "HomeApplet" ) { @@ -46,7 +46,7 @@ QIconSet HomeApplet::icon ( ) const QImage img = Resource::loadImage ( "home" ); if ( !img. isNull ( )) - pix. convertFromImage ( img. smoothScale ( 14, 14 )); + pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); return pix; } -- cgit v0.9.0.2