summaryrefslogtreecommitdiffabout
path: root/kalarmd
authorzautrix <zautrix>2005-02-08 18:29:59 (UTC)
committer zautrix <zautrix>2005-02-08 18:29:59 (UTC)
commit2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6 (patch) (side-by-side diff)
tree733f50ad5513065fe407fa341948172aae893b52 /kalarmd
parent126b79abd88bb13ab41c4d987ee759eb9ba7d483 (diff)
downloadkdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.zip
kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.tar.gz
kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.tar.bz2
font fix
Diffstat (limited to 'kalarmd') (more/less context) (ignore whitespace changes)
-rw-r--r--kalarmd/alarmdialog.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/kalarmd/alarmdialog.cpp b/kalarmd/alarmdialog.cpp
index 521781e..751ba57 100644
--- a/kalarmd/alarmdialog.cpp
+++ b/kalarmd/alarmdialog.cpp
@@ -72,5 +72,8 @@ AlarmDialog::AlarmDialog(QWidget *parent,const char *name)
layout->setMargin( 3 );
-
- l->setFont( QFont("helvetica",fs2, QFont::Bold) );
- mMessage->setFont( QFont("helvetica",fs, QFont::Bold) );
+ QFont fo = QApplication::font();
+ fo.setBold( true );
+ fo.setPointSize( fs2 );
+ l->setFont( fo );
+ fo.setPointSize( fs );
+ mMessage->setFont(fo );
mMessage->setAlignment( AlignCenter);