author | zautrix <zautrix> | 2005-02-08 23:15:22 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-08 23:15:22 (UTC) |
commit | d0ab37d35ca9a9d919c9fc4856f3314bfef6dd5a (patch) (side-by-side diff) | |
tree | 751d52e216392132e8ad36ba9e8a23ae64083951 /korganizer | |
parent | 2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6 (diff) | |
download | kdepimpi-d0ab37d35ca9a9d919c9fc4856f3314bfef6dd5a.zip kdepimpi-d0ab37d35ca9a9d919c9fc4856f3314bfef6dd5a.tar.gz kdepimpi-d0ab37d35ca9a9d919c9fc4856f3314bfef6dd5a.tar.bz2 |
fff
-rw-r--r-- | korganizer/komonthview.cpp | 7 | ||||
-rw-r--r-- | korganizer/kotodoviewitem.cpp | 9 |
2 files changed, 10 insertions, 6 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 02d2585..da81586 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -919,2 +919,3 @@ KOMonthView::KOMonthView(Calendar *calendar, QWidget *parent, const char *name) +#if 0 if ( mShowWeekView ) @@ -923,2 +924,3 @@ KOMonthView::KOMonthView(Calendar *calendar, QWidget *parent, const char *name) mWidStack->raiseWidget( mMonthView ); +#endif @@ -929,2 +931,3 @@ KOMonthView::KOMonthView(Calendar *calendar, QWidget *parent, const char *name) resize(640, 480 ); + updatePossible = true; #endif @@ -932,2 +935,6 @@ KOMonthView::KOMonthView(Calendar *calendar, QWidget *parent, const char *name) + if ( mShowWeekView ) + mWidStack->raiseWidget( mWeekView ); + else + mWidStack->raiseWidget( mMonthView ); } diff --git a/korganizer/kotodoviewitem.cpp b/korganizer/kotodoviewitem.cpp index 78d4027..44db209 100644 --- a/korganizer/kotodoviewitem.cpp +++ b/korganizer/kotodoviewitem.cpp @@ -268,3 +268,3 @@ bool KOTodoViewItem::isAlternate() { -#ifndef KORG_NOLVALTERNATION + KOTodoListView *lv = static_cast<KOTodoListView *>(listView()); @@ -305,5 +305,2 @@ bool KOTodoViewItem::isAlternate() return false; -#else - return false; -#endif } @@ -319,4 +316,4 @@ void KOTodoViewItem::paintCell(QPainter *p, const QColorGroup &cg, int column, i //#ifndef KORG_NOLVALTERNATION - // if (isAlternate()) - // _cg.setColor(QColorGroup::Base, static_cast< KOTodoListView* >(listView())->alternateBackground()); + if (isAlternate()) + _cg.setColor(QColorGroup::Base, static_cast< KOTodoListView* >(listView())->alternateBackground()); bool setColor = KOPrefs::instance()->mTodoViewUsesCatColors; |