author | zautrix <zautrix> | 2005-06-15 10:22:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-15 10:22:38 (UTC) |
commit | 13c00953a9d521873b03f861e54e83e33b30bc96 (patch) (unidiff) | |
tree | 05bc1f7b6d95b68e0d579e70a487c8a48f250a6f /korganizer/komonthview.cpp | |
parent | 37175a31a8fa8772403e9588ff3f8bd7de3979cc (diff) | |
download | kdepimpi-13c00953a9d521873b03f861e54e83e33b30bc96.zip kdepimpi-13c00953a9d521873b03f861e54e83e33b30bc96.tar.gz kdepimpi-13c00953a9d521873b03f861e54e83e33b30bc96.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/komonthview.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 96f2502..2150654 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp | |||
@@ -732,3 +732,4 @@ int MonthViewCell::insertEvent(Event *event) | |||
732 | if (cat.isEmpty()) { | 732 | if (cat.isEmpty()) { |
733 | pal.setColor(QColorGroup::Foreground,KOPrefs::instance()->mEventColor); | 733 | //pal.setColor(QColorGroup::Foreground,KOPrefs::instance()->mEventColor); |
734 | pal.setColor(QColorGroup::Foreground,KOPrefs::instance()->defaultColor( event->calID() )); | ||
734 | } else { | 735 | } else { |
@@ -739,3 +740,4 @@ int MonthViewCell::insertEvent(Event *event) | |||
739 | if (cat.isEmpty()) { | 740 | if (cat.isEmpty()) { |
740 | pal = QPalette(KOPrefs::instance()->mEventColor, KOPrefs::instance()->mEventColor); | 741 | //pal = QPalette(KOPrefs::instance()->mEventColor, KOPrefs::instance()->mEventColor); |
742 | pal = QPalette( KOPrefs::instance()->defaultColor( event->calID() ), KOPrefs::instance()->defaultColor( event->calID() )); | ||
741 | } else { | 743 | } else { |
@@ -813,3 +815,4 @@ void MonthViewCell::insertTodo(Todo *todo) | |||
813 | if (cat.isEmpty()) { | 815 | if (cat.isEmpty()) { |
814 | pal.setColor(QColorGroup::Foreground,KOPrefs::instance()->mEventColor); | 816 | //pal.setColor(QColorGroup::Foreground,KOPrefs::instance()->mEventColor); |
817 | pal.setColor(QColorGroup::Foreground,KOPrefs::instance()->defaultColor( todo->calID() )); | ||
815 | } else { | 818 | } else { |
@@ -820,3 +823,4 @@ void MonthViewCell::insertTodo(Todo *todo) | |||
820 | if (cat.isEmpty()) { | 823 | if (cat.isEmpty()) { |
821 | pal = QPalette(KOPrefs::instance()->mEventColor, KOPrefs::instance()->mEventColor); | 824 | //pal = QPalette(KOPrefs::instance()->mEventColor, KOPrefs::instance()->mEventColor); |
825 | pal = QPalette(KOPrefs::instance()->defaultColor( todo->calID() ), KOPrefs::instance()->defaultColor( todo->calID() )); | ||
822 | } else { | 826 | } else { |