-rw-r--r-- | kalarmd/alarmdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kalarmd/alarmdialog.cpp b/kalarmd/alarmdialog.cpp index 17d4afa..ddb125a 100644 --- a/kalarmd/alarmdialog.cpp +++ b/kalarmd/alarmdialog.cpp | |||
@@ -93,16 +93,21 @@ AlarmDialog::AlarmDialog(QWidget *parent,const char *name) | |||
93 | 93 | ||
94 | playSoundTimer->stop(); | 94 | playSoundTimer->stop(); |
95 | 95 | ||
96 | layout->addWidget ( mMissedAlarms ); | 96 | layout->addWidget ( mMissedAlarms ); |
97 | mMissedAlarmsCombo = new QComboBox ( this ); | 97 | mMissedAlarmsCombo = new QComboBox ( this ); |
98 | layout->addWidget ( mMissedAlarmsCombo ); | 98 | layout->addWidget ( mMissedAlarmsCombo ); |
99 | 99 | ||
100 | QLabel* labb = new QLabel("Suspend\nduration\n(minutes):",this); | 100 | QLabel* labb = new QLabel("Suspend\nduration\n(minutes):",this); |
101 | #ifdef DESKTOP_VERSION | ||
102 | fo = font(); | ||
103 | fo.setPointSize( 12 ); | ||
104 | labb->setFont ( fo ); | ||
105 | #endif | ||
101 | labb->setAlignment(AlignCenter); | 106 | labb->setAlignment(AlignCenter); |
102 | //layout->addWidget ( labb ); | 107 | //layout->addWidget ( labb ); |
103 | fo = font(); | 108 | fo = font(); |
104 | int pointSize = 36; | 109 | int pointSize = 36; |
105 | if ( QApplication::desktop()->width() <= 320 ) | 110 | if ( QApplication::desktop()->width() <= 320 ) |
106 | pointSize = 18; | 111 | pointSize = 18; |
107 | fo.setPointSize( pointSize ); | 112 | fo.setPointSize( pointSize ); |
108 | mSuspendSpin = new QSpinBox(1,1440,1,this); | 113 | mSuspendSpin = new QSpinBox(1,1440,1,this); |