summaryrefslogtreecommitdiffabout
path: root/libkdepim
authorzautrix <zautrix>2005-02-08 16:40:46 (UTC)
committer zautrix <zautrix>2005-02-08 16:40:46 (UTC)
commit720510bf933a86211f8e9e2465788d141f0f1149 (patch) (side-by-side diff)
tree65fb4d3ab30fed082d8c8b513e1cbed910373178 /libkdepim
parent78c70cfbbe79243d8b0ec40f8f6438c99046e12b (diff)
downloadkdepimpi-720510bf933a86211f8e9e2465788d141f0f1149.zip
kdepimpi-720510bf933a86211f8e9e2465788d141f0f1149.tar.gz
kdepimpi-720510bf933a86211f8e9e2465788d141f0f1149.tar.bz2
ffff
Diffstat (limited to 'libkdepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kdatepicker.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/libkdepim/kdatepicker.cpp b/libkdepim/kdatepicker.cpp
index d6e9b51..c13734f 100644
--- a/libkdepim/kdatepicker.cpp
+++ b/libkdepim/kdatepicker.cpp
@@ -54,4 +54,3 @@ KDatePicker::KDatePicker(QWidget *parent, QDate dt, const char *name)
{
- setFont ( KGlobalSettings::generalFont() );
- table = new KDateTable(this);
+ QFont fo = KGlobalSettings::generalFont();
int add = 2;
@@ -59,3 +58,6 @@ KDatePicker::KDatePicker(QWidget *parent, QDate dt, const char *name)
add += 4;
- setFontSize(font().pointSize()+add);
+ fo.setPointSize(fo.pointSize()+add );
+ setFont( fo );
+ table = new KDateTable(this);
+ setFontSize(font().pointSize());
//line->setValidator(val);