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/restartapplet2/restart.cpp') diff --git a/core/applets/restartapplet2/restart.cpp b/core/applets/restartapplet2/restart.cpp index a169505..eda0005 100644 --- a/core/applets/restartapplet2/restart.cpp +++ b/core/applets/restartapplet2/restart.cpp @@ -1,15 +1,12 @@ // coptright Mon 10-21-2002 01:14:03 by L. Potter +#include "restart.h" + +#include #include #include #include -#include "restart.h" - -// #include -// #include -// #include -//#include /* XPM */ static char *restart_xpm[] = { "16 16 11 1", @@ -71,7 +68,7 @@ QIconSet RestartApplet::icon ( ) const QImage img = ( const char** ) restart_xpm ;//Resource::loadImage ( "Run" ); if ( !img. isNull ( )) - pix. convertFromImage ( img. smoothScale ( 14, 14 )); + pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); return pix; } -- cgit v0.9.0.2