summaryrefslogtreecommitdiff
path: root/core/pim/today/todaybase.cpp
Unidiff
Diffstat (limited to 'core/pim/today/todaybase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/todaybase.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index 800ca5d..1424b95 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -25,26 +25,24 @@
25#include <qpe/resource.h> 25#include <qpe/resource.h>
26 26
27 27
28TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) 28TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
29 : QWidget( parent, name, fl ) { 29 : QWidget( parent, name, fl ) {
30 30
31 QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo 31 QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo
32 QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla 32 QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla
33 QPixmap config = Resource::loadPixmap( "today/config" ); // config icon 33 QPixmap config = Resource::loadPixmap( "today/config" ); // config icon
34 34
35 layout = new QVBoxLayout( this ); 35 layout = new QVBoxLayout( this );
36 36
37 QVBoxLayout *mainLayout = new QVBoxLayout( this );
38
39 QPalette pal = this->palette(); 37 QPalette pal = this->palette();
40 QColor col = pal.color( QPalette::Active, QColorGroup::Background ); 38 QColor col = pal.color( QPalette::Active, QColorGroup::Background );
41 pal.setColor( QPalette::Active, QColorGroup::Button, col ); 39 pal.setColor( QPalette::Active, QColorGroup::Button, col );
42 pal.setColor( QPalette::Inactive, QColorGroup::Button, col ); 40 pal.setColor( QPalette::Inactive, QColorGroup::Button, col );
43 pal.setColor( QPalette::Normal, QColorGroup::Button, col ); 41 pal.setColor( QPalette::Normal, QColorGroup::Button, col );
44 pal.setColor( QPalette::Disabled, QColorGroup::Button, col ); 42 pal.setColor( QPalette::Disabled, QColorGroup::Button, col );
45 this->setPalette( pal ); 43 this->setPalette( pal );
46 44
47 // --- logo Section --- 45 // --- logo Section ---
48 QPalette pal2; 46 QPalette pal2;
49 QColorGroup cg; 47 QColorGroup cg;
50 cg.setColor( QColorGroup::Text, white ); 48 cg.setColor( QColorGroup::Text, white );