Diffstat (limited to 'core/applets/aboutapplet/about.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/aboutapplet/about.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/applets/aboutapplet/about.cpp b/core/applets/aboutapplet/about.cpp index 1dbd4c4..ec214f3 100644 --- a/core/applets/aboutapplet/about.cpp +++ b/core/applets/aboutapplet/about.cpp @@ -3,2 +3,3 @@ +#include <qpe/applnk.h> #include <qpe/qpeapplication.h> @@ -43,3 +44,3 @@ QString AboutApplet::tr( const char* s, const char* p ) const -QIconSet AboutApplet::icon ( ) const +QIconSet AboutApplet::icon() const { @@ -48,4 +49,4 @@ QIconSet AboutApplet::icon ( ) const - if ( !img. isNull ( ) ) - pix. convertFromImage ( img. smoothScale ( 14, 14 ) ); + if ( !img.isNull() ) + pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); return pix; |