Revision 988f09b...

Go back to digest for 8th June 2014

Bug Fixes in KDE Base

Martin Gräßlin committed changes in [kconfig] /:

Fix locale-aware reading in KDesktopFile

The underlying KConfig used QLocale::name() for getting the locale
aware part. But this returns "de_DE" while the desktop files store
"de".

In addition it constructs a QLocale object instead of using the
system locale. This has the advantage that the usage of
QLocale::setDafault() gets honored by KConfig.

REVIEW: 118564

File Changes

Added 1 files
  • autotests/helper.h
Modified 4 files
  •   autotests/kconfigtest.cpp
  •   autotests/kdesktopfiletest.cpp
  •   autotests/kdesktopfiletest.h
  •   src/core/kconfig.cpp
5 files changed in total