author | llornkcor <llornkcor> | 2002-06-22 20:08:02 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-22 20:08:02 (UTC) |
commit | a15b6b4a548a62cf3971eda7442d7e68c20c5374 (patch) (side-by-side diff) | |
tree | 52b0b2af559f8e6b66dec2148aebdab3f29f0668 | |
parent | 01dce280dcbf2ffd3a3a60001a2876a872440bbb (diff) | |
download | opie-a15b6b4a548a62cf3971eda7442d7e68c20c5374.zip opie-a15b6b4a548a62cf3971eda7442d7e68c20c5374.tar.gz opie-a15b6b4a548a62cf3971eda7442d7e68c20c5374.tar.bz2 |
so I can at least see the time when I set it
-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 if ( !name ) setName( "Set_Alarm" ); resize( 240, 101 ); setMaximumSize( QSize( 240, 320 ) ); + move(0,48); setCaption( tr( "Set Alarm" ) ); connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); Set_AlarmLayout = new QGridLayout( this ); @@ -132,10 +133,10 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl i_alarmHour = i_alarmHour - 12; Pm_RadioButton->setChecked(TRUE); } else if ( i_alarmHour == 0 ) { - i_alarmHour = 12; - } + i_alarmHour = 12; + } Hour_Slider->setValue( i_alarmHour ); Minute_Slider->setValue( alarmMinute.toInt(&ok,10) ); SnoozeSlider->setValue( snoozeTime.toInt(&ok,10) ); } else { |