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/vtapplet/vt.cpp') diff --git a/core/applets/vtapplet/vt.cpp b/core/applets/vtapplet/vt.cpp index 7832ee0..ae89635 100644 --- a/core/applets/vtapplet/vt.cpp +++ b/core/applets/vtapplet/vt.cpp @@ -15,6 +15,7 @@ /* OPIE */ #include +#include #include using namespace Opie::Core; @@ -71,7 +72,7 @@ QIconSet VTApplet::icon ( ) const QImage img = Resource::loadImage ( "terminal" ); if ( !img. isNull ( )) - pix. convertFromImage ( img. smoothScale ( 14, 14 )); + pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); return pix; } -- cgit v0.9.0.2