From 00b559c52051c05d6df41724b207a038c0e548bf Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 01 Feb 2005 08:44:35 +0000 Subject: two font fixes --- (limited to 'korganizer') diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index d43712f..aa36553 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp @@ -820,6 +820,7 @@ void KOAgendaView::createDayLabels() if ( offset < 0 ) offset = 0; //qDebug("mLayoutDayLabels->addSpacing %d ", mAgenda->verticalScrollBar()->width()+offset+2 ); dayLabel->setText(">");//QString::number ( mSelectedDates.first().month() ) ); + dayLabel->setFont( dlf ); dayLabel->show(); dayLabel->setCaption("last"); dayLabel->setFixedWidth( mAgenda->verticalScrollBar()->width()+ offset ); diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index 549ef2a..dd83d48 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp @@ -490,6 +490,7 @@ void KODayMatrix::paintEvent(QPaintEvent * pevent) myPix.resize(size() ); } QPainter p(&myPix); + p.setFont(font()); QRect sz = frameRect(); int dheight = daysize.height(); -- cgit v0.9.0.2