From 4cd082939b03ec1891911c76cbd5aa12f84eb1f1 Mon Sep 17 00:00:00 2001 From: drw Date: Fri, 04 Mar 2005 20:06:47 +0000 Subject: Scale icons appropriately --- (limited to 'core/pim') diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index cb809d3..a89f454 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp @@ -16,6 +16,7 @@ #include "todaybase.h" +#include #include #include @@ -30,7 +31,8 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) opiezillaimage = opiezillaimage.smoothScale( 45, 45 ); QPixmap opiezilla; //the opiezilla opiezilla.convertFromImage( opiezillaimage ); - QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon + QPixmap config; + config.convertFromImage( Resource::loadImage( "SettingsIcon" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); layout = 0L; -- cgit v0.9.0.2