author | zautrix <zautrix> | 2005-04-02 17:24:28 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-02 17:24:28 (UTC) |
commit | 40e5edc1ab153144f0e824ad2d3a0ab37357e408 (patch) (unidiff) | |
tree | 25b1d980554303d99d41960267d57872a338960d /korganizer | |
parent | f3c3a836ae97ef3e65cfbcd22156b0ba6eaae578 (diff) | |
download | kdepimpi-40e5edc1ab153144f0e824ad2d3a0ab37357e408.zip kdepimpi-40e5edc1ab153144f0e824ad2d3a0ab37357e408.tar.gz kdepimpi-40e5edc1ab153144f0e824ad2d3a0ab37357e408.tar.bz2 |
commit
-rw-r--r-- | korganizer/koagendaview.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index 880d399..d450a97 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp | |||
@@ -207,13 +207,12 @@ void TimeLabels::updateConfig() | |||
207 | test = "00"; | 207 | test = "00"; |
208 | } | 208 | } |
209 | QFont sFont = font(); | 209 | QFont sFont = font(); |
210 | sFont.setPointSize( sFont.pointSize()/2 ); | 210 | sFont.setPointSize( sFont.pointSize()/2 ); |
211 | QFontMetrics fmS( sFont ); | 211 | QFontMetrics fmS( sFont ); |
212 | mMiniWidth += fmS.width( test ) + frameWidth()*2+4 ; | 212 | mMiniWidth += fmS.width( test ) + frameWidth()*2+4 ; |
213 | qDebug("testwid %d %d", mMiniWidth ,fmS.width( test )); | ||
214 | // update geometry restrictions based on new settings | 213 | // update geometry restrictions based on new settings |
215 | setFixedWidth( mMiniWidth ); | 214 | setFixedWidth( mMiniWidth ); |
216 | 215 | ||
217 | // update HourSize | 216 | // update HourSize |
218 | mCellHeight = KOPrefs::instance()->mHourSize*4; | 217 | mCellHeight = KOPrefs::instance()->mHourSize*4; |
219 | resizeContents(50,mRows * mCellHeight); | 218 | resizeContents(50,mRows * mCellHeight); |