author | zecke <zecke> | 2002-10-01 10:40:16 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-01 10:40:16 (UTC) |
commit | c79aa2c8de0f508d45b993521b5c11e39de221e9 (patch) (unidiff) | |
tree | c132b7cd24fc5604ce52840daccb873edd2e53e5 | |
parent | 61fdbd044d40cb3c93eab5a1ba262964a9413c66 (diff) | |
download | opie-c79aa2c8de0f508d45b993521b5c11e39de221e9.zip opie-c79aa2c8de0f508d45b993521b5c11e39de221e9.tar.gz opie-c79aa2c8de0f508d45b993521b5c11e39de221e9.tar.bz2 |
Patch by stelian
to fix problem with timezone switching
The CityTime settngs app writes in to CityTime
where the tzselector wanted to read from WorldTime
thank
-rw-r--r-- | library/tzselect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/tzselect.cpp b/library/tzselect.cpp index e16b8d4..9436867 100644 --- a/library/tzselect.cpp +++ b/library/tzselect.cpp | |||
@@ -88,13 +88,13 @@ void TZCombo::updateZones() | |||
88 | QString cur = currentText(); | 88 | QString cur = currentText(); |
89 | clear(); | 89 | clear(); |
90 | identifiers.clear(); | 90 | identifiers.clear(); |
91 | int curix=0; | 91 | int curix=0; |
92 | QString tz = getenv("TZ"); | 92 | QString tz = getenv("TZ"); |
93 | bool tzFound = FALSE; | 93 | bool tzFound = FALSE; |
94 | Config cfg("WorldTime"); | 94 | Config cfg("CityTime"); |
95 | cfg.setGroup("TimeZones"); | 95 | cfg.setGroup("TimeZones"); |
96 | int listIndex = 0; | 96 | int listIndex = 0; |
97 | if (parent()->inherits("TimeZoneSelector")) { | 97 | if (parent()->inherits("TimeZoneSelector")) { |
98 | if ( ((TimeZoneSelector *)parent())->localIncluded() ) { | 98 | if ( ((TimeZoneSelector *)parent())->localIncluded() ) { |
99 | // overide to the 'local' type. | 99 | // overide to the 'local' type. |
100 | identifiers.append( "None" ); | 100 | identifiers.append( "None" ); |