summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-04-02 17:24:28 (UTC)
committer zautrix <zautrix>2005-04-02 17:24:28 (UTC)
commit40e5edc1ab153144f0e824ad2d3a0ab37357e408 (patch) (side-by-side diff)
tree25b1d980554303d99d41960267d57872a338960d /korganizer
parentf3c3a836ae97ef3e65cfbcd22156b0ba6eaae578 (diff)
downloadkdepimpi-40e5edc1ab153144f0e824ad2d3a0ab37357e408.zip
kdepimpi-40e5edc1ab153144f0e824ad2d3a0ab37357e408.tar.gz
kdepimpi-40e5edc1ab153144f0e824ad2d3a0ab37357e408.tar.bz2
commit
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaview.cpp1
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
@@ -201,25 +201,24 @@ void TimeLabels::updateConfig()
if (KGlobal::locale()->use12Clock())
test = "12";
mMiniWidth = fontMetrics().width(test);
if (KGlobal::locale()->use12Clock())
test = "pm";
else {
test = "00";
}
QFont sFont = font();
sFont.setPointSize( sFont.pointSize()/2 );
QFontMetrics fmS( sFont );
mMiniWidth += fmS.width( test ) + frameWidth()*2+4 ;
- qDebug("testwid %d %d", mMiniWidth ,fmS.width( test ));
// update geometry restrictions based on new settings
setFixedWidth( mMiniWidth );
// update HourSize
mCellHeight = KOPrefs::instance()->mHourSize*4;
resizeContents(50,mRows * mCellHeight);
}
/** update time label positions */
void TimeLabels::positionChanged()
{
int adjustment = mAgenda->contentsY();