Diffstat (limited to 'noncore/tools/clock/setAlarm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/clock/setAlarm.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/tools/clock/setAlarm.cpp b/noncore/tools/clock/setAlarm.cpp index 6b95e6a..bd964e0 100644 --- a/noncore/tools/clock/setAlarm.cpp +++ b/noncore/tools/clock/setAlarm.cpp | |||
@@ -134,2 +134,5 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl | |||
134 | } | 134 | } |
135 | else if ( i_alarmHour == 0 ) { | ||
136 | i_alarmHour = 12; | ||
137 | } | ||
135 | Hour_Slider->setValue( i_alarmHour); | 138 | Hour_Slider->setValue( i_alarmHour); |
@@ -139,3 +142,3 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl | |||
139 | Hour_Slider->setMaxValue( 23); | 142 | Hour_Slider->setMaxValue( 23); |
140 | Hour_Slider->setMinValue( 1); | 143 | Hour_Slider->setMinValue( 0); |
141 | Hour_Slider->setValue( i_alarmHour); | 144 | Hour_Slider->setValue( i_alarmHour); |