Revision 1204354

Go back to digest for 12th December 2010

Bug Fixes in KDE Base

John Layt committed changes in /trunk/KDE/kdelibs/kdecore/localization:

Store a pointer to the KLocale config file for later reference.

Currently KLocale does not save a pointer to the config file that was used to initialise it.
However, because the creation of the KCalendarSystem is delayed until it is actually used the config file is not available when the calendar needs it to read the per-calendar system user settings.

Hence the need to keep a copy of the pointer for later reference. In the vast majority of cases the pointer will be null indicating that the KGlobal::config() should be used.
The only cases in KDE svn where a config is passed in are the Locale KCM and Kraft.

See reviewboard http://svn.reviewboard.kde.org/r/6047/

File Changes

Modified 10 files
  • /trunk/KDE/kdelibs/kdecore/localization
  •   /klocale.cpp
  •   /klocale.h
  •   /klocale_kde.cpp
  •   /klocale_mac.cpp
  •   /klocale_mac_p.h
  •   /klocale_p.h
  •   /klocale_unix.cpp
  •   /klocale_unix_p.h
  •   /klocale_win.cpp
  •   /klocale_win_p.h
10 files changed in total