[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/locale
From:       Melchior Franz <mfranz () kde ! org>
Date:       2003-02-11 21:59:35
[Download RAW message or body]

CVS commit by mfranz: 

* don't crash! (fix insufficient vector allocation)
* show the Hebrew entry


  M +3 -2      localetime.cpp   1.58


--- kdebase/kcontrol/locale/localetime.cpp  #1.57:1.58
@@ -316,5 +316,5 @@ void KLocaleConfigTime::slotCalendarSyst
 
   typedef QValueVector<QString> CalendarVector;
-  CalendarVector calendars(2);
+  CalendarVector calendars(3);
   calendars[0] = "gregorian";
   calendars[1] = "hijri";
@@ -453,5 +453,6 @@ void KLocaleConfigTime::slotTranslate()
   m_comboCalendarSystem->changeItem
     (m_locale->translate("Calendar System Hijri", "Hijri"), 1);
-    (m_locale->translate("Calendar System Hebrew", "Hebrew"), 1);
+  m_comboCalendarSystem->changeItem
+    (m_locale->translate("Calendar System Hebrew", "Hebrew"), 2);
 
   str = m_locale->translate


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic