summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-06-22 20:08:02 (UTC)
committer llornkcor <llornkcor>2002-06-22 20:08:02 (UTC)
commita15b6b4a548a62cf3971eda7442d7e68c20c5374 (patch) (unidiff)
tree52b0b2af559f8e6b66dec2148aebdab3f29f0668
parent01dce280dcbf2ffd3a3a60001a2876a872440bbb (diff)
downloadopie-a15b6b4a548a62cf3971eda7442d7e68c20c5374.zip
opie-a15b6b4a548a62cf3971eda7442d7e68c20c5374.tar.gz
opie-a15b6b4a548a62cf3971eda7442d7e68c20c5374.tar.bz2
so I can at least see the time when I set it
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/clock/setAlarm.cpp5
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 {