author | drw <drw> | 2005-03-04 20:06:47 (UTC) |
---|---|---|
committer | drw <drw> | 2005-03-04 20:06:47 (UTC) |
commit | 4cd082939b03ec1891911c76cbd5aa12f84eb1f1 (patch) (unidiff) | |
tree | 3e9cca0534499acae17ebe14b254d6b9955fc1f6 /core | |
parent | 9d5079d82dc2821e719e70c0111e5f2ddc30eb37 (diff) | |
download | opie-4cd082939b03ec1891911c76cbd5aa12f84eb1f1.zip opie-4cd082939b03ec1891911c76cbd5aa12f84eb1f1.tar.gz opie-4cd082939b03ec1891911c76cbd5aa12f84eb1f1.tar.bz2 |
Scale icons appropriately
-rw-r--r-- | core/pim/today/todaybase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
@@ -17,4 +17,5 @@ | |||
17 | #include "todaybase.h" | 17 | #include "todaybase.h" |
18 | 18 | ||
19 | #include <qpe/applnk.h> | ||
19 | #include <qpe/resource.h> | 20 | #include <qpe/resource.h> |
20 | 21 | ||
@@ -31,5 +32,6 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
31 | QPixmap opiezilla; //the opiezilla | 32 | QPixmap opiezilla; //the opiezilla |
32 | opiezilla.convertFromImage( opiezillaimage ); | 33 | opiezilla.convertFromImage( opiezillaimage ); |
33 | QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon | 34 | QPixmap config; |
35 | config.convertFromImage( Resource::loadImage( "SettingsIcon" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | ||
34 | 36 | ||
35 | layout = 0L; | 37 | layout = 0L; |