-rw-r--r-- | core/applets/homeapplet/home.cpp | 8 | ||||
-rw-r--r-- | core/applets/homeapplet/home.h | 1 |
2 files changed, 5 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 +1,4 @@ +#include "home.h" + +#include <qpe/applnk.h> #include <qpe/resource.h> @@ -5,5 +8,2 @@ -#include "home.h" - - HomeApplet::HomeApplet ( ) @@ -48,3 +48,3 @@ QIconSet HomeApplet::icon ( ) const if ( !img. isNull ( )) - pix. convertFromImage ( img. smoothScale ( 14, 14 )); + pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); return pix; diff --git a/core/applets/homeapplet/home.h b/core/applets/homeapplet/home.h index 22ecd47..7f1f006 100644 --- a/core/applets/homeapplet/home.h +++ b/core/applets/homeapplet/home.h @@ -23,2 +23,3 @@ #include <qpe/menuappletinterface.h> +#include <qobject.h> |