-rw-r--r-- | noncore/settings/netsystemtime/timetabwidget.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/noncore/settings/netsystemtime/timetabwidget.cpp b/noncore/settings/netsystemtime/timetabwidget.cpp index 1ea460e..3cc127d 100644 --- a/noncore/settings/netsystemtime/timetabwidget.cpp +++ b/noncore/settings/netsystemtime/timetabwidget.cpp | |||
@@ -71,3 +71,3 @@ TimeTabWidget::TimeTabWidget( QWidget *parent ) | |||
71 | sv->addChild( container ); | 71 | sv->addChild( container ); |
72 | 72 | ||
73 | QGridLayout *layout = new QGridLayout( container ); | 73 | QGridLayout *layout = new QGridLayout( container ); |
@@ -189,3 +189,3 @@ void TimeTabWidget::setDateTime( const QDateTime &dt ) | |||
189 | sbMin->setValue( t.minute() ); | 189 | sbMin->setValue( t.minute() ); |
190 | 190 | ||
191 | // Set date | 191 | // Set date |
@@ -205,3 +205,9 @@ void TimeTabWidget::setSystemTime( const QDateTime &dt ) | |||
205 | if ( myTv.tv_sec != -1 ) | 205 | if ( myTv.tv_sec != -1 ) |
206 | ::settimeofday( &myTv, 0 ); | 206 | ::settimeofday( &myTv, 0 ); |
207 | |||
208 | /* | ||
209 | * Commit the datetime to the 'hardware' | ||
210 | * as Global::writeHWClock() is a NOOP with Opie Alarm | ||
211 | */ | ||
212 | system("/sbin/hwclock --systohc --utc"); | ||
207 | } | 213 | } |
@@ -212,3 +218,3 @@ void TimeTabWidget::slotUse12HourTime( int i ) | |||
212 | use12HourTime = (i == 1); | 218 | use12HourTime = (i == 1); |
213 | 219 | ||
214 | cbAmpm->setEnabled( use12HourTime ); | 220 | cbAmpm->setEnabled( use12HourTime ); |