summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-02-11 18:37:03 (UTC)
committer harlekin <harlekin>2003-02-11 18:37:03 (UTC)
commitcb85b004afe2750733cef1663961539f6a3968e6 (patch) (unidiff)
tree6084bf1fb78375325938f96077e0faa03ece955f
parentec6795c6a15a3b9f4721b628d48366097da9c903 (diff)
downloadopie-cb85b004afe2750733cef1663961539f6a3968e6.zip
opie-cb85b004afe2750733cef1663961539f6a3968e6.tar.gz
opie-cb85b004afe2750733cef1663961539f6a3968e6.tar.bz2
fix bug #644, ampm vs 24 h handling
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/citytime/citytime.cpp4
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
@@ -51,3 +51,5 @@ CityTime::CityTime( QWidget *parent, const char* name,
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 );
@@ -185,3 +187,3 @@ void CityTime::showTime( void )
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 {