summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaview.cpp
authorzautrix <zautrix>2005-06-25 02:23:09 (UTC)
committer zautrix <zautrix>2005-06-25 02:23:09 (UTC)
commit1d0b53abc70e66708d93b7081a21a7689b1a1303 (patch) (side-by-side diff)
tree2a79eab02c3560af43af16162e2004adf507fb0f /korganizer/koagendaview.cpp
parentab93fa0a7cd97beada9475f6099bf6083547f0d6 (diff)
downloadkdepimpi-1d0b53abc70e66708d93b7081a21a7689b1a1303.zip
kdepimpi-1d0b53abc70e66708d93b7081a21a7689b1a1303.tar.gz
kdepimpi-1d0b53abc70e66708d93b7081a21a7689b1a1303.tar.bz2
fixx
Diffstat (limited to 'korganizer/koagendaview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaview.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index 93ff55e..c851ab5 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -672,2 +672,3 @@ void KOAgendaView::createDayLabels()
QFontMetrics fm ( dlf );
+ dlf.setBold( true );
int selCount = mSelectedDates.count();
@@ -681,3 +682,3 @@ void KOAgendaView::createDayLabels()
else
- maxWid -= ( selCount * 3 ); //working for QPushButton
+ maxWid -= ( selCount * 4 ); //working for QPushButton
if ( maxWid < 0 )
@@ -700,3 +701,3 @@ void KOAgendaView::createDayLabels()
dlf.setPointSize( fontPoint );
- QFontMetrics f( dlf );
+ QFontMetrics f( dlf );
wid = f.width( "30" );
@@ -709,3 +710,4 @@ void KOAgendaView::createDayLabels()
//qDebug("Max len %d ", dayTest.length() );
-
+ if ( !KOPrefs::instance()->mTimeLabelsFont.bold() )
+ dlf.setBold( false );
QFontMetrics tempF( dlf );