author | harlekin <harlekin> | 2002-04-08 19:58:35 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-04-08 19:58:35 (UTC) |
commit | 9dd42008cd6dea68520c58a569874a7cc8230eb0 (patch) (unidiff) | |
tree | d12285c8f697b85c59740d3a6f4c89cd2b86798d /core/pim | |
parent | d30a329f104fd7abb20521c8abfe389d9cd76c99 (diff) | |
download | opie-9dd42008cd6dea68520c58a569874a7cc8230eb0.zip opie-9dd42008cd6dea68520c58a569874a7cc8230eb0.tar.gz opie-9dd42008cd6dea68520c58a569874a7cc8230eb0.tar.bz2 |
updated buttons
-rw-r--r-- | core/pim/today/changelog | 1 | ||||
-rw-r--r-- | core/pim/today/todaybase.cpp | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/pim/today/changelog b/core/pim/today/changelog index 2270551..b3da1fb 100644 --- a/core/pim/today/changelog +++ b/core/pim/today/changelog | |||
@@ -1,8 +1,9 @@ | |||
1 | 0.3.1 | 1 | 0.3.1 |
2 | 2 | ||
3 | * fixed the wrong color of the buttons | ||
3 | * better translation (thanks carsten and others) | 4 | * better translation (thanks carsten and others) |
4 | * fixes memory leaks | 5 | * fixes memory leaks |
5 | * bugfixes in calendar part, now location and note are working again. | 6 | * bugfixes in calendar part, now location and note are working again. |
6 | 7 | ||
7 | 0.3.0 | 8 | 0.3.0 |
8 | 9 | ||
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index dfcc34e..755c860 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp | |||
@@ -45,12 +45,15 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) | |||
45 | QPixmap config = Resource::loadPixmap( "today/config" ); // config icon | 45 | QPixmap config = Resource::loadPixmap( "today/config" ); // config icon |
46 | QPixmap mail = Resource::loadPixmap( "today/mail" ); // mail icon | 46 | QPixmap mail = Resource::loadPixmap( "today/mail" ); // mail icon |
47 | 47 | ||
48 | QPalette pal = this->palette(); | 48 | QPalette pal = this->palette(); |
49 | QColor col = pal.color(QPalette::Active, QColorGroup::Background); | 49 | QColor col = pal.color(QPalette::Active, QColorGroup::Background); |
50 | pal.setColor(QPalette::Active, QColorGroup::Button, col); | 50 | pal.setColor(QPalette::Active, QColorGroup::Button, col); |
51 | pal.setColor(QPalette::Inactive, QColorGroup::Button, col); | ||
52 | pal.setColor(QPalette::Normal, QColorGroup::Button, col); | ||
53 | pal.setColor(QPalette::Disabled, QColorGroup::Button, col); | ||
51 | this->setPalette(pal); | 54 | this->setPalette(pal); |
52 | 55 | ||
53 | 56 | ||
54 | QWidget *d = QApplication::desktop(); | 57 | QWidget *d = QApplication::desktop(); |
55 | int w=d->width(); | 58 | int w=d->width(); |
56 | int h=d->height(); | 59 | int h=d->height(); |