-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, | |||
50 | { | 50 | { |
51 | Config config( "qpe" ); | 51 | Config config( "qpe" ); |
52 | config.setGroup( "Time" ); | ||
52 | bWhichClock = config.readBoolEntry( "AMPM", TRUE ); | 53 | bWhichClock = config.readBoolEntry( "AMPM", TRUE ); |
54 | qDebug( QString("%1").arg(bWhichClock) ); | ||
53 | frmMap->changeClock( bWhichClock ); | 55 | frmMap->changeClock( bWhichClock ); |
54 | 56 | ||
@@ -184,5 +186,5 @@ void CityTime::showTime( void ) | |||
184 | if ( !strCityTz[i].isNull() ) { | 186 | if ( !strCityTz[i].isNull() ) { |
185 | if ( setenv( "TZ", strCityTz[i], true ) == 0 ) { | 187 | if ( setenv( "TZ", strCityTz[i], true ) == 0 ) { |
186 | itTime.current()->setText( TimeString::shortTime(bWhichClock) ); | 188 | itTime.current()->setText( TimeString::shortTime( bWhichClock ) ); |
187 | } else { | 189 | } else { |
188 | QMessageBox::critical( this, tr( "Time Changing" ), | 190 | QMessageBox::critical( this, tr( "Time Changing" ), |