Diffstat (limited to 'core/pim/today/todaybase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/todaybase.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index 14cdfd9..7f1915c 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp @@ -22,13 +22,16 @@ #include <qwhatsthis.h> TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) : QWidget( parent, name, WStyle_ContextHelp ) { QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo - QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla + QImage opiezillaimage = QImage( Resource::loadImage("logo/opielogo" ) ); + opiezillaimage = opiezillaimage.smoothScale( 45, 45 ); + QPixmap opiezilla; //the opiezilla + opiezilla.convertFromImage( opiezillaimage ); QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon layout = 0L; QPalette pal = this->palette(); QColor col = pal.color( QPalette::Active, QColorGroup::Background ); |