summaryrefslogtreecommitdiff
path: root/core/pim/today/todaybase.cpp
authorharlekin <harlekin>2002-09-21 21:15:59 (UTC)
committer harlekin <harlekin>2002-09-21 21:15:59 (UTC)
commit2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c (patch) (unidiff)
tree5f302398099f158e8df188420e817017b1acb160 /core/pim/today/todaybase.cpp
parent023b34ea1584474a0ba625be4b099cb9a2de376c (diff)
downloadopie-2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c.zip
opie-2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c.tar.gz
opie-2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c.tar.bz2
code cleanups
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
@@ -31,14 +31,12 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
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 );