[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Tue Nov 1 22:26:49 CET 2005


SVN commit 476725 by staikos:

implement setTimezone


 M  +4 -1      ktimezonecombo.cpp  


--- trunk/extragear/graphics/kst/kst/ktimezonecombo.cpp #476724:476725
@@ -96,7 +96,10 @@
 
 
 void KTimezoneCombo::setTimezone(const QString& tz) {
-
+  int idx = d->_names.findIndex(tz);
+  if (idx != -1) {
+    setCurrentItem(idx);
+  }
 }
 
 


More information about the Kst mailing list