summaryrefslogtreecommitdiff
path: root/core/applets/homeapplet/home.cpp
Side-by-side diff
Diffstat (limited to 'core/applets/homeapplet/home.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/homeapplet/home.cpp8
1 files changed, 4 insertions, 4 deletions
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 <qpe/applnk.h>
#include <qpe/resource.h>
#include <qpe/qcopenvelope_qws.h>
#include <qapplication.h>
-#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;
}