-rw-r--r-- | core/settings/citytime/citytime.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/settings/citytime/citytime.cpp b/core/settings/citytime/citytime.cpp index 5dc9b02..b359ae1 100644 --- a/core/settings/citytime/citytime.cpp +++ b/core/settings/citytime/citytime.cpp @@ -50,5 +50,7 @@ CityTime::CityTime( QWidget *parent, const char* name, { Config config( "qpe" ); + config.setGroup( "Time" ); bWhichClock = config.readBoolEntry( "AMPM", TRUE ); + qDebug( QString("%1").arg(bWhichClock) ); frmMap->changeClock( bWhichClock ); @@ -184,5 +186,5 @@ void CityTime::showTime( void ) if ( !strCityTz[i].isNull() ) { if ( setenv( "TZ", strCityTz[i], true ) == 0 ) { - itTime.current()->setText( TimeString::shortTime(bWhichClock) ); + itTime.current()->setText( TimeString::shortTime( bWhichClock ) ); } else { QMessageBox::critical( this, tr( "Time Changing" ), |