Diffstat (limited to 'core/applets/restartapplet2/restart.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/restartapplet2/restart.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
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,16 +1,13 @@ // coptright Mon 10-21-2002 01:14:03 by L. Potter <ljp@llornkcor.com> +#include "restart.h" + +#include <qpe/applnk.h> #include <qpe/qpeapplication.h> #include <qpe/resource.h> #include <qpe/qcopenvelope_qws.h> -#include "restart.h" - -// #include <stdlib.h> -// #include <unistd.h> -// #include <sys/stat.h> -//#include <dirent.h> /* XPM */ static char *restart_xpm[] = { "16 16 11 1", " c None", @@ -70,9 +67,9 @@ QIconSet RestartApplet::icon ( ) const QPixmap pix; 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; } QPopupMenu *RestartApplet::popup ( QWidget * ) const |