summaryrefslogtreecommitdiffabout
path: root/korganizer/komonthview.cpp
authorzautrix <zautrix>2005-01-31 17:16:55 (UTC)
committer zautrix <zautrix>2005-01-31 17:16:55 (UTC)
commit8e627854bec00289be27915b81458cf22bbb000f (patch) (side-by-side diff)
tree18db63d50f031122b5069927c2491ac8cf5c6295 /korganizer/komonthview.cpp
parentec037c4616342c1b3976c55db98b775f48e0d455 (diff)
downloadkdepimpi-8e627854bec00289be27915b81458cf22bbb000f.zip
kdepimpi-8e627854bec00289be27915b81458cf22bbb000f.tar.gz
kdepimpi-8e627854bec00289be27915b81458cf22bbb000f.tar.bz2
sss
Diffstat (limited to 'korganizer/komonthview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/komonthview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp
index 6646b98..4cff23a 100644
--- a/korganizer/komonthview.cpp
+++ b/korganizer/komonthview.cpp
@@ -605,13 +605,12 @@ void MonthViewCell::updateCell()
// if ( isVisible())
//qApp->processEvents();
}
void MonthViewCell::updateConfig()
{
- qDebug("MonthViewCell::updateConfig() ");
setFont( KOPrefs::instance()->mMonthViewFont );
QFontMetrics fm( font() );
mLabelSize = fm.size( 0, "30" ) + QSize( 4, 2 );
mLabelBigSize = fm.size( 0, "Mag 30" ) + QSize( 2, 2 );
mHolidayPalette = mStandardPalette;
@@ -625,13 +624,13 @@ void MonthViewCell::updateConfig()
mPrimaryPalette.setColor(QColorGroup::Base,KOPrefs::instance()->mMonthViewOddColor);
mPrimaryPalette.setColor(QColorGroup::Background,KOPrefs::instance()->mMonthViewOddColor);
mNonPrimaryPalette.setColor(QColorGroup::Foreground,KOPrefs::instance()->mMonthViewEvenColor.dark());
mNonPrimaryPalette.setColor(QColorGroup::Base,KOPrefs::instance()->mMonthViewEvenColor);
mNonPrimaryPalette.setColor(QColorGroup::Background,KOPrefs::instance()->mMonthViewEvenColor);
}
- updateCell();
+ //updateCell();
}
void MonthViewCell::enableScrollBars( bool enabled )
{
if ( enabled ) {
mItemList->setVScrollBarMode(QScrollView::Auto);
@@ -894,12 +893,13 @@ void KOMonthView::updateConfig()
for (uint i = 0; i < mCells.count(); ++i) {
mCells[i]->updateConfig();
}
#ifdef DESKTOP_VERSION
MonthViewCell::toolTipGroup()->setEnabled(KOPrefs::instance()->mEnableToolTips);
#endif
+ updateView();
}
void KOMonthView::updateDayLabels()
{
for (int i = 0; i < 7; i++) {