summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/tzselect.cpp2
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
@@ -82,25 +82,25 @@ TZCombo::TZCombo( QWidget *p, const char* n )
82TZCombo::~TZCombo() 82TZCombo::~TZCombo()
83{ 83{
84} 84}
85 85
86void TZCombo::updateZones() 86void TZCombo::updateZones()
87{ 87{
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" );
101 insertItem( tr("None") ); 101 insertItem( tr("None") );
102 if ( cur == tr("None")) 102 if ( cur == tr("None"))
103 curix = 0; 103 curix = 0;
104 listIndex++; 104 listIndex++;
105 } 105 }
106 } 106 }