Diffstat (limited to 'noncore/tools/clock/setAlarm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/clock/setAlarm.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/tools/clock/setAlarm.cpp b/noncore/tools/clock/setAlarm.cpp index bd964e0..990ff81 100644 --- a/noncore/tools/clock/setAlarm.cpp +++ b/noncore/tools/clock/setAlarm.cpp | |||
@@ -35,8 +35,9 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl | |||
35 | if ( !name ) | 35 | if ( !name ) |
36 | setName( "Set_Alarm" ); | 36 | setName( "Set_Alarm" ); |
37 | resize( 240, 101 ); | 37 | resize( 240, 101 ); |
38 | setMaximumSize( QSize( 240, 320 ) ); | 38 | setMaximumSize( QSize( 240, 320 ) ); |
39 | move(0,48); | ||
39 | setCaption( tr( "Set Alarm" ) ); | 40 | setCaption( tr( "Set Alarm" ) ); |
40 | connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); | 41 | connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); |
41 | 42 | ||
42 | Set_AlarmLayout = new QGridLayout( this ); | 43 | Set_AlarmLayout = new QGridLayout( this ); |
@@ -132,10 +133,10 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl | |||
132 | i_alarmHour = i_alarmHour - 12; | 133 | i_alarmHour = i_alarmHour - 12; |
133 | Pm_RadioButton->setChecked(TRUE); | 134 | Pm_RadioButton->setChecked(TRUE); |
134 | } | 135 | } |
135 | else if ( i_alarmHour == 0 ) { | 136 | else if ( i_alarmHour == 0 ) { |
136 | i_alarmHour = 12; | 137 | i_alarmHour = 12; |
137 | } | 138 | } |
138 | Hour_Slider->setValue( i_alarmHour ); | 139 | Hour_Slider->setValue( i_alarmHour ); |
139 | Minute_Slider->setValue( alarmMinute.toInt(&ok,10) ); | 140 | Minute_Slider->setValue( alarmMinute.toInt(&ok,10) ); |
140 | SnoozeSlider->setValue( snoozeTime.toInt(&ok,10) ); | 141 | SnoozeSlider->setValue( snoozeTime.toInt(&ok,10) ); |
141 | } else { | 142 | } else { |