summaryrefslogtreecommitdiffabout
path: root/kalarmd/alarmdialog.cpp
Side-by-side diff
Diffstat (limited to 'kalarmd/alarmdialog.cpp') (more/less context) (show 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
@@ -71,7 +71,10 @@ AlarmDialog::AlarmDialog(QWidget *parent,const char *name)
layout->setSpacing( 3 );
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);
l = new QLabel("Missed Alarms:",this);